Commits
linking on darwin: provide builtins and -arch
91101f08c2 • Andrew Kelley • Feb 16, 2016
add missing system library to darwin linker job
4c30216d1c • Andrew Kelley • Feb 16, 2016
first pass at linking on macos
984e7d6cc7 • Andrew Kelley • Feb 16, 2016
handle libc include path and libc lib path differently
f580c7fa43 • Andrew Kelley • Feb 15, 2016
MacOS has the same int sizes as Linux
c6bf9c6942 • Andrew Kelley • Feb 15, 2016
use llvm-config to find llvm include dirs
3664e8e4e2 • Andrew Kelley • Feb 15, 2016
update readme
fecbc91a6b • Andrew Kelley • Feb 15, 2016
parseh: fix __cdecl causing a fn ptr to be double ptr
baf889c879 • Andrew Kelley • Feb 14, 2016
parseh: ZIG_PARSEH_CFLAGS -> ZIG_NATIVE_PARSEH_CFLAGS
87922bfae0 • Andrew Kelley • Feb 14, 2016
parseh: support attributed types
fb8700de6c • Andrew Kelley • Feb 14, 2016
parseh: more specific warning for different calling conventions
5032854aec • Andrew Kelley • Feb 14, 2016
respect link order in source code
5771bd805e • Andrew Kelley • Feb 14, 2016
if any c imports fail, don't emit undefined identifier errors
1141e4f5b2 • Andrew Kelley • Feb 14, 2016
dummy implementation of os_get_random_bytes for windows
01fda6199e • Andrew Kelley • Feb 14, 2016
fix some c header symbol collisions
1d3c25e928 • Andrew Kelley • Feb 14, 2016
add windows C int sizes
fe95a227c8 • Andrew Kelley • Feb 13, 2016
a = b % c uses the types of b and c instead of a
03b51a753a • Andrew Kelley • Feb 13, 2016
parseh: fix branching on undefined memory
8d510c699a • Andrew Kelley • Feb 13, 2016
add @ctz, @clz and compiler_rt implementation
c8376af92d • Andrew Kelley • Feb 13, 2016
if statement children nodes know if they're compiled out
a5aeb7381f • Andrew Kelley • Feb 12, 2016
avoid codegening functions never called from conditional compilation
b8a1cb299e • Andrew Kelley • Feb 12, 2016
fix build on GCC
9bf9be9937 • Andrew Kelley • Feb 12, 2016
c integer size takes into account architecture and OS
4e3f6de027 • Andrew Kelley • Feb 12, 2016
std: delete malloc and free
7828456b30 • Andrew Kelley • Feb 12, 2016
i386 support
592210a173 • Andrew Kelley • Feb 12, 2016
add @compile_var("environ")
0c1ce21f7d • Andrew Kelley • Feb 12, 2016
Merge pull request #126 from srgpqt/master
51b2621e62 • Andrew Kelley • Feb 12, 2016
add @compile_var("os") and @compile_var("arch")
2dc4ac0e21 • Andrew Kelley • Feb 12, 2016
add compile error for missing enumeration value in switch
08eb19456b • Andrew Kelley • Feb 11, 2016
fix division by 0 crashing compiler
a180168871 • Andrew Kelley • Feb 11, 2016
ability to cross compile
2bf6c28bc3 • Andrew Kelley • Feb 11, 2016
cleanup target data organization
54a8b6a110 • Andrew Kelley • Feb 10, 2016
targets command shows which ones are native
b642604691 • Andrew Kelley • Feb 10, 2016
add "targets" command to list architectures, oses, abis
1ff2edf67e • Andrew Kelley • Feb 10, 2016
add link to intro in readme
b988017547 • Andrew Kelley • Feb 10, 2016
don't create debug type for void arrays
aa504275f0 • Andrew Kelley • Feb 10, 2016
minor readme rewording
0c7f33456e • Andrew Kelley • Feb 10, 2016
if statements can be const expr evaluated
d8f6388b63 • Andrew Kelley • Feb 10, 2016
fix -dynamic-linker arg to ld when not overridden
f45c374664 • Andrew Kelley • Feb 9, 2016
@const_eval returns poison value for type when it fails
5bdcdd1669 • Andrew Kelley • Feb 9, 2016
std: fix parse_u64 implementation and add test
207862647c • Andrew Kelley • Feb 9, 2016
fix build with GCC
1d92700d08 • Andrew Kelley • Feb 9, 2016
support overriding the dynamic linker argument to ld
e18170ee0b • Andrew Kelley • Feb 9, 2016
fix some of the ubuntu build trouble
62a689f7f5 • Josh Wolfe • Feb 8, 2016
support static linking against libc
430d0dfcb2 • Andrew Kelley • Feb 8, 2016
add link to tetris example
ea3bd58563 • Andrew Kelley • Feb 8, 2016
parseh: tiny performance improvement
96e7deadd4 • Andrew Kelley • Feb 8, 2016
improve performance for get_fn_type
87cdbb6c25 • Andrew Kelley • Feb 8, 2016
array.len generates a constant number literal expression
6b3ce918db • Andrew Kelley • Feb 7, 2016
remove ptr field access of arrays
42fe4e3cc8 • Andrew Kelley • Feb 7, 2016
error for non const expr in array size outside fn
36cf9f0c72 • Andrew Kelley • Feb 7, 2016
implement @const_eval
26ea20d88f • Andrew Kelley • Feb 7, 2016
add debug info for loop variables
049e9e5819 • Andrew Kelley • Feb 7, 2016
blocks with one statement pass constant expression eval
94ed9f622a • Andrew Kelley • Feb 7, 2016
fix a bogus call to bignum_normalize causing assertion failure
694cfff23f • Andrew Kelley • Feb 7, 2016
fix debug type of ptr and len fields of slices
7b00ed362c • Andrew Kelley • Feb 7, 2016
add debug info for slices
642b38a577 • Andrew Kelley • Feb 7, 2016
ability to explicitly cast maybe pointers to each other
7f6b0ba6ea • Andrew Kelley • Feb 7, 2016
unreachable return type can cast to any other return type
4174134108 • Andrew Kelley • Feb 7, 2016
parseh: fix not properly demoting structs to typedefs
fc31096519 • Andrew Kelley • Feb 7, 2016
parseh understands simple string literal macros
f19fa590e5 • Andrew Kelley • Feb 7, 2016
std: remove auto flushing of stderr. use printf
4c8f26e9f6 • Andrew Kelley • Feb 7, 2016
add test for ?? return and add const expr eval for ? prefix op
c7dc56f737 • Andrew Kelley • Feb 7, 2016
rhs of ?? and %% can be any expression
c4f5a00253 • Andrew Kelley • Feb 7, 2016
parser recognizes %return in a prefix op expression
73727bd1c5 • Andrew Kelley • Feb 7, 2016
implement %defer and ?defer
65a03c5859 • Andrew Kelley • Feb 6, 2016
codegen: return respects unconditional defer
34a7e6fdb3 • Andrew Kelley • Feb 6, 2016
simple unconditional defer support
ec33e5a638 • Andrew Kelley • Feb 6, 2016
parsing code for defer and more
6a2ede5a6e • Andrew Kelley • Feb 6, 2016
update for loop syntax
4339d55562 • Andrew Kelley • Feb 6, 2016
add nonnull to functions with pointer return type
4208435f66 • Andrew Kelley • Feb 5, 2016
Merge branch 'realazthat-nonnull-branch'
db3b517639 • Andrew Kelley • Feb 5, 2016
add rand.float32 to standard library
ff5673ae1b • Andrew Kelley • Feb 5, 2016
fix explicit casting from integer literal to float
15fe3c4235 • Andrew Kelley • Feb 5, 2016
another planned feature complete
5f0a9a569e • Andrew Kelley • Feb 5, 2016
switch trap in debug mode when no prong found
663a1d0cd5 • Andrew Kelley • Feb 5, 2016
support variable in switch expression prongs
093e0d1bb0 • Andrew Kelley • Feb 5, 2016
no namespace required when switching on enum
a4cba900e5 • Andrew Kelley • Feb 4, 2016
switch statements resolve peer compatibility
5490f907fe • Andrew Kelley • Feb 4, 2016
codegen: fix switch expressions for enums with payloads
fcbeaddbb2 • Andrew Kelley • Feb 4, 2016
fix debug info for bool type
b87d0abefe • Andrew Kelley • Feb 4, 2016
ability to explicitly cast bool to int
25e74cb385 • Andrew Kelley • Feb 4, 2016
for loop supports break and continue
32642ac9cb • Andrew Kelley • Feb 4, 2016
implement constant values for enums with payload
fdadab40c6 • Andrew Kelley • Feb 4, 2016
fix crash when initializing struct if field is invalid
3a9009b08e • Andrew Kelley • Feb 4, 2016
move os_get_random_bytes to os.zig
bb4a532785 • Andrew Kelley • Feb 4, 2016
allow defining errors with the same name
1f9734d1ee • Andrew Kelley • Feb 4, 2016
fix running tests when linking with libc
a6d4335217 • Andrew Kelley • Feb 4, 2016
add ability to call function pointer field
2521afef69 • Andrew Kelley • Feb 4, 2016
skip analyzing parameters of invalid function call
5c310f4343 • Andrew Kelley • Feb 4, 2016
fix handling of implicit casts in binary operators
c3123158b7 • Andrew Kelley • Feb 4, 2016
test runner prints test names
39223c1847 • Andrew Kelley • Feb 4, 2016
basic support for building a test target
11a0644365 • Andrew Kelley • Feb 4, 2016
fix debug symbols for byval arguments
afdb47c32d • Andrew Kelley • Feb 3, 2016
fix debug info for arrays being 1 element too short
815d9a7994 • Andrew Kelley • Feb 3, 2016
add @compile_var("is_release")
f2fe231ddf • Andrew Kelley • Feb 3, 2016
types sized and aligned with LLVM target data layout API
b28f7d0808 • Andrew Kelley • Feb 3, 2016
add @compile_var builtin and "is_big_endian" compile var
b04e64d300 • Andrew Kelley • Feb 3, 2016
fix false positive error with same named methods in incomplete struct
a50474e7cf • Andrew Kelley • Feb 3, 2016
fix various semantic analyzer crashes
d3de73739f • Andrew Kelley • Feb 3, 2016