Commits
IR: detect error for exceeding branch quota
bd4d4ee51e • Andrew Kelley • Nov 27, 2016
IR: add inline goto
1fba7f3696 • Andrew Kelley • Nov 27, 2016
IR: fix crash when duplicate label error
b3ff28189c • Andrew Kelley • Nov 27, 2016
IR: support goto and labels
a52ede6494 • Andrew Kelley • Nov 27, 2016
IR: fix parsing while loop
a3db60b5d7 • Andrew Kelley • Nov 27, 2016
IR: support import builtin function
84f7805029 • Andrew Kelley • Nov 27, 2016
IR: support inline switch
4619b5de06 • Andrew Kelley • Nov 26, 2016
IR: add error for non static const on switch case range
24b65e41ee • Andrew Kelley • Nov 26, 2016
IR: support switch with range
697c768730 • Andrew Kelley • Nov 26, 2016
IR: switch expression works with numbers
bbf785bc1d • Andrew Kelley • Nov 26, 2016
IR: generating a switch statement
0c22358cc1 • Andrew Kelley • Nov 24, 2016
IR: implement setFnVisible builtin
a2257e4b81 • Andrew Kelley • Nov 21, 2016
IR: fix codegen for arrays
052cd44588 • Andrew Kelley • Nov 21, 2016
IR: fix detection of invalid codegen
e80e8a8099 • Andrew Kelley • Nov 21, 2016
IR: implement ctz and clz builtins
67d565136a • Andrew Kelley • Nov 21, 2016
IR: support unwrap maybe operation
71d95c6597 • Andrew Kelley • Nov 21, 2016
IR: support sizeOf builtin
b47e2fa060 • Andrew Kelley • Nov 20, 2016
IR: implement ir_print for maybe type
6c8b919d17 • Andrew Kelley • Nov 19, 2016
IR: error for uncasted null lit variable
2f8dd46174 • Andrew Kelley • Nov 19, 2016
IR: implement compileVar builtin and more
8a81f8aa13 • Andrew Kelley • Nov 19, 2016
IR: more maybe type support
19037014e5 • Andrew Kelley • Nov 19, 2016
IR: fix decl references pointerness
31565efe9d • Andrew Kelley • Nov 19, 2016
IR: correctly codegening memset and memcpy
d94cb0566b • Andrew Kelley • Nov 19, 2016
IR: support setDebugSafety builtin function
bf7cde62c5 • Andrew Kelley • Nov 19, 2016
IR: inline assembly working
ed31ae8867 • Andrew Kelley • Nov 18, 2016
remove AST cloning code and add AST render for while loops
c3b603fdf9 • Andrew Kelley • Nov 18, 2016
IR: pointers to constants use correct addresses
7a2a0672b4 • Andrew Kelley • Nov 18, 2016
IR: pointers to constants don't copy data
62d0d88b56 • Andrew Kelley • Nov 17, 2016
remove superseded eval code
a55555c99e • Andrew Kelley • Nov 17, 2016
IR: implement pointer dereferencing (even at compile time)
8d1c6138f9 • Andrew Kelley • Nov 15, 2016
IR: implement compile time array access
af4d4c882a • Andrew Kelley • Nov 15, 2016
IR: add assembly instruction
2edc6c1a3f • Andrew Kelley • Nov 14, 2016
IR: fix hang for unreachable functions
04c047463b • Andrew Kelley • Nov 13, 2016
IR: fix prefix op eval setting wrong type
e2fd3b2b1b • Andrew Kelley • Nov 13, 2016
IR handles global variables correctly
d4f2394dcf • Andrew Kelley • Nov 13, 2016
IR: gen string literal
a5c9da0de2 • Andrew Kelley • Nov 10, 2016
IR: move unused codegen code to commented out in bottom of ir.cpp
9d19b8d66e • Andrew Kelley • Nov 10, 2016
IR: support pointer types
b8379b4c5b • Andrew Kelley • Nov 8, 2016
IR: support slice types
05de70017d • Andrew Kelley • Nov 7, 2016
WIP moving all analysis to IR
a2e3293930 • Andrew Kelley • Nov 4, 2016
IR: support this literal and bool literal
bc6c33b1b6 • Andrew Kelley • Nov 3, 2016
add concept of inline for, inline while, inline var
c8333d0cc9 • Andrew Kelley • Nov 3, 2016
*WIP*
1a0111d4c3 • Andrew Kelley • Oct 30, 2016
ir: support return expression
56cdaff9e7 • Andrew Kelley • Oct 29, 2016
ir: ability to modify global vars
afc5507b64 • Andrew Kelley • Oct 29, 2016
IR: ability to assign to an array at runtime
8e2804efa1 • Andrew Kelley • Oct 28, 2016
IR analysis unrolls a complicated loop
114049a220 • Andrew Kelley • Oct 27, 2016
IR: phi instruction works at compile time
78e6314422 • Andrew Kelley • Oct 27, 2016
IR can inline loops
bfcd6648e7 • Andrew Kelley • Oct 27, 2016
IR supports variable assignment
44d6f8ffd8 • Andrew Kelley • Oct 23, 2016
IR: introduce concept of lvalues
d7a2b05a81 • Andrew Kelley • Oct 23, 2016
add variable declaration initialization IR
a9a6f77a1f • Andrew Kelley • Oct 20, 2016
add variable declaration IR
682511d1b2 • Andrew Kelley • Oct 18, 2016
IR working for if statements
ac6d1674e3 • Andrew Kelley • Oct 16, 2016
IR if statements WIP
ce3c52471d • Andrew Kelley • Oct 12, 2016
explicit casting works with IR
77ae3442ef • Andrew Kelley • Oct 9, 2016
IR in 2 passes
07fe60ded1 • Andrew Kelley • Oct 6, 2016
simple add function works with IR
cd1bd78aa9 • Andrew Kelley • Oct 3, 2016
empty function compiles successfully with IR
633781e31d • Andrew Kelley • Oct 1, 2016
*WIP*
4e2fa2d15b • Andrew Kelley • Sep 30, 2016
fix regression: debug safety sometimes incorrectly disabled
0562111b02 • Andrew Kelley • Sep 28, 2016
remove compiler directives
b581da41f8 • Andrew Kelley • Sep 28, 2016
clean up test directory
e5fd8efcb6 • Andrew Kelley • Sep 27, 2016
add this keyword refers to thing in immediate scope
183976b242 • Andrew Kelley • Sep 27, 2016
std/rand: remove unneeded TODO
f4d7c91363 • Andrew Kelley • Sep 27, 2016
cstr.len and cstr.cmp can run at compile time
87b7c28c9a • Andrew Kelley • Sep 27, 2016
emit error for extern function
7ce7e2c9d1 • Andrew Kelley • Sep 27, 2016
fix crash when doing binary not on integer literal
7f4d4bdb3f • Andrew Kelley • Sep 26, 2016
add error message for method call on non method
4b68224c60 • Andrew Kelley • Sep 26, 2016
refactor field access code into more generic container code
01e13de7ca • Andrew Kelley • Sep 26, 2016
ability to have struct to have a field which is slice of itself
683da0e4ec • Andrew Kelley • Sep 25, 2016
enums support member functions
e06885d64e • Andrew Kelley • Sep 23, 2016
fix compiler crash for misspelled type with pointer only reference
9ec6a78f12 • Andrew Kelley • Sep 23, 2016
stack trace is able to figure out compilation unit
46eb77dbb2 • Andrew Kelley • Sep 23, 2016
os: fix file descriptor leak in os_exec
4b902b44a2 • Andrew Kelley • Sep 22, 2016
fix compile crash when leaving out for loop parameter
c64f6f9503 • Andrew Kelley • Sep 22, 2016
fix incorrect linking from previous commit
7aeca9bfed • Andrew Kelley • Sep 21, 2016
exporting an object creates an h file
3f8f0b9bba • Andrew Kelley • Sep 21, 2016
fix error when switch prong has implicit cast
b97bfc3ecb • Andrew Kelley • Sep 20, 2016
avoid emitting "no member" errors when use import fails
158225a203 • Andrew Kelley • Sep 20, 2016
tests: correct test name
e397ea43c0 • Andrew Kelley • Sep 20, 2016
use size_t for indexes
3239b3cb69 • Andrew Kelley • Sep 19, 2016
ability to specify -framework linker args for MacOS
4c0259b107 • Andrew Kelley • Sep 19, 2016
fix compiler crash involving slice with const slice child
b738cbdc76 • Andrew Kelley • Sep 15, 2016
tests: use a more robust path to self_hosted.zig
3f05fdc8e8 • Andrew Kelley • Sep 14, 2016
Merge branch 'macos-aindigo'
c65fe384dd • Andrew Kelley • Sep 14, 2016
change `unreachable{}` to `@unreachable()`
06f2f4d64b • Andrew Kelley • Sep 13, 2016
std: fix compile error for unsupported os
ea2f6594ce • Andrew Kelley • Sep 13, 2016
fix crash with []type{} expression
6abd8b6405 • Andrew Kelley • Sep 13, 2016
add compile error for assigning through const
56f8325799 • Andrew Kelley • Sep 11, 2016
fix compile error message for wrong arg count on method
28811234bb • Andrew Kelley • Sep 11, 2016
rename LLVMZig to ZigLLVM
1fa4d2a5af • Andrew Kelley • Sep 11, 2016
langref: correct builtin function names
077cd4b9a4 • Andrew Kelley • Sep 11, 2016
std: use parameter type inference on min and max functions
9e92dbdd08 • Andrew Kelley • Sep 11, 2016
Merge pull request #187 from procedural/c-pointer-fix
100990b052 • Andrew Kelley • Sep 10, 2016
std: avoid calling close twice in InStream
fc9ff13fb6 • Andrew Kelley • Sep 8, 2016
ability to infer parameter types
d324b1befa • Andrew Kelley • Sep 8, 2016
build: remove -Wmissing-prototypes
de7e88c38f • Andrew Kelley • Sep 6, 2016
build: add missing static in tokenizer
1a1991371a • Andrew Kelley • Sep 6, 2016
build: fix warning on gcc 6.2
9dc9e5bfb0 • Andrew Kelley • Sep 6, 2016