Commits
fix ability to call method on variable at compile time
8b1c6d8b76 • Andrew Kelley • Feb 2, 2017
fix behavior when initializing struct with undefined
2b88441295 • Andrew Kelley • Feb 2, 2017
remove ability to mark if and switch as inline
b78c91951a • Andrew Kelley • Feb 2, 2017
prefix op maybe and error are for types only
cd08c1f3be • Andrew Kelley • Feb 2, 2017
document setDebugSafety builtin function
4df1a9b251 • Andrew Kelley • Feb 1, 2017
fix var args allocating wrong amount of memory in compiler
d13cec6894 • Andrew Kelley • Jan 31, 2017
fix crash when passing void to var args function
88a253c64d • Andrew Kelley • Jan 31, 2017
add integer literal to pointer explicit cast
b258fdb532 • Andrew Kelley • Jan 31, 2017
readme update
eb00aa21f5 • Andrew Kelley • Jan 31, 2017
fix crash when assigning too large value to integer
d8da34c64c • Andrew Kelley • Jan 31, 2017
fix compile time initialization of array with undefined
d2b94afaf2 • Andrew Kelley • Jan 30, 2017
fix sometimes using wrong outer scope for generating defers
3caf6bacdc • Andrew Kelley • Jan 30, 2017
fix behavior for comptime and runtime basic block phi
c75e58ffe6 • Andrew Kelley • Jan 30, 2017
fix runtime branching tricking the comptime evaluation
e0a422ae7e • Andrew Kelley • Jan 26, 2017
update cat example code
34a4d7a201 • Andrew Kelley • Jan 24, 2017
printf var args proof of concept
4b3f18de3c • Andrew Kelley • Jan 24, 2017
various fixes
32d8686da8 • Andrew Kelley • Jan 24, 2017
basic support for functions with variable length arguments
17cb85dfb8 • Andrew Kelley • Jan 23, 2017
update charToDigit to take advantage of switch syntax
1826a96160 • Andrew Kelley • Jan 23, 2017
mem.free no longer requires explicit type argument
0b34439c1f • Andrew Kelley • Jan 23, 2017
remove staticEval builtin in favor of comptime expression
e5b1758010 • Andrew Kelley • Jan 23, 2017
introduce comptime expression
201a3c121a • Andrew Kelley • Jan 23, 2017
use comptime instead of inline for var and params
47cf8520ad • Andrew Kelley • Jan 23, 2017
get rid of zeroes literal
6a5e61acd1 • Andrew Kelley • Jan 16, 2017
add test for compile error returning from defer expression
ab8b14aa9f • Andrew Kelley • Jan 16, 2017
add test for compile time bool not operator
cf3b9f4f5b • Andrew Kelley • Jan 16, 2017
ability to equality compare with null
0caee421e3 • Andrew Kelley • Jan 16, 2017
equality comparison of void types is known at compile time
867686af42 • Andrew Kelley • Jan 16, 2017
implement error when assigning to field of const struct
fdbc2d8da1 • Andrew Kelley • Jan 16, 2017
add test for short-circuit AND and OR assignment
98faf4f749 • Andrew Kelley • Jan 16, 2017
Merge branch 'master' into ir-merge
c715309bc5 • Andrew Kelley • Jan 16, 2017
fix handling of const values for 2d arrays
4cbeb87e83 • Andrew Kelley • Jan 16, 2017
fix array of enums. also render debug info for const vars
c7591736b4 • Andrew Kelley • Jan 16, 2017
fix get_maybe_type not ensuring complete child type
3752e0c290 • Andrew Kelley • Jan 16, 2017
fix llvm assertion failure for zero bits structs
d0b59f20ab • Andrew Kelley • Jan 16, 2017
fix handling of invalid enumeration
0b6cf0aa63 • Andrew Kelley • Jan 16, 2017
fix enum codegen and implement comptime switch var on enums
8106f9846a • Andrew Kelley • Jan 16, 2017
fix some stuff when llvm has assertions on
0c1800a9c9 • Andrew Kelley • Jan 13, 2017
fix some bugs with structs
83f1a6fae2 • Andrew Kelley • Jan 13, 2017
fix crash when casting fn call arg
652bfab3d0 • Andrew Kelley • Jan 12, 2017
fix use decl regression
c793c534b8 • Andrew Kelley • Jan 12, 2017
IR: fix array concatenation
18f248b94d • Andrew Kelley • Jan 12, 2017
IR: implement macro for function aliasing function pointer
d784705353 • Andrew Kelley • Jan 12, 2017
pass some parseh tests
76b1cbc2ea • Andrew Kelley • Jan 12, 2017
pass more tests
25a670d74e • Andrew Kelley • Jan 12, 2017
fix some tests
de9ecaf964 • Andrew Kelley • Jan 11, 2017
better error message for unable to eval const expr
fc53708dc0 • Andrew Kelley • Jan 11, 2017
fix a few tests
7493af5953 • Andrew Kelley • Jan 11, 2017
IR: implement error for missing or extra switch prongs
fde276a3bf • Andrew Kelley • Jan 10, 2017
partially fix parseh command
430e33b869 • Andrew Kelley • Jan 10, 2017
pass division by zero test
8d27a02705 • Andrew Kelley • Jan 9, 2017
pass unnecessary if statement test
6caf32195a • Andrew Kelley • Jan 9, 2017
fix unable to eval const expr test case
76d0e49e61 • Andrew Kelley • Jan 8, 2017
fix some tests
e4bc8d22c2 • Andrew Kelley • Jan 8, 2017
don't try to eval extern functions at compile time
3ef447fa20 • Andrew Kelley • Jan 8, 2017
pass conflicting variable name test
6b36aef306 • Andrew Kelley • Jan 7, 2017
add compile error for initializing struct with non struct type
090ff05054 • Andrew Kelley • Jan 7, 2017
don't mark call instruction as generated
cf62f02ba9 • Andrew Kelley • Jan 6, 2017
pass more tests
23feafdef0 • Andrew Kelley • Jan 6, 2017
pass more tests by updating expected error messages
28403eaad0 • Andrew Kelley • Jan 6, 2017
pass array access compile error tests
837cc467f7 • Andrew Kelley • Jan 6, 2017
pass cannot assign to constant test
e621ad014e • Andrew Kelley • Jan 5, 2017
fix compiler rt
97e1054890 • Andrew Kelley • Jan 5, 2017
pass unreachable variable test
ed21be011a • Andrew Kelley • Jan 5, 2017
pass undeclared identifier test
438feebbcf • Andrew Kelley • Jan 5, 2017
self hosted tests import std library
3b5e26b7f7 • Andrew Kelley • Jan 5, 2017
fix hash map implementation
ee09eb7f54 • Andrew Kelley • Jan 5, 2017
fix mul and sub overflow ops being rendered as addition
9d94c2ccd0 • Andrew Kelley • Jan 5, 2017
containers created during eval get names for parameters
349cd79fe4 • Andrew Kelley • Jan 5, 2017
fix mem.sliceAsInt regression
27a633b32a • Andrew Kelley • Jan 5, 2017
IR: pass MT19937_64 test
6ec6589bd8 • Andrew Kelley • Jan 5, 2017
IR: add unreachable code compiler error
c32a060d4f • Andrew Kelley • Jan 5, 2017
fix debug information for function pointers in structs
664b41af65 • Andrew Kelley • Jan 4, 2017
IR: std library passes codegen
dbb1018ca6 • Andrew Kelley • Jan 1, 2017
IR: std makes it to codegen
ff5120c584 • Andrew Kelley • Dec 31, 2016
IR: progress toward compiling standard library
69132bdeda • Andrew Kelley • Dec 31, 2016
IR: implement binary not instruction
5f89393acb • Andrew Kelley • Dec 31, 2016
IR: add error for goto jumping over variable declaration
2ccdaee101 • Andrew Kelley • Dec 31, 2016
eradicate use of zeroes in std
76fa6cdce3 • Andrew Kelley • Dec 31, 2016
IR: handle phi instruction with 0 resulting incoming values
29bb175f4f • Andrew Kelley • Dec 30, 2016
IR: better basic block dependency detection
6bbee194b9 • Andrew Kelley • Dec 30, 2016
IR: error for returning from defer expression
a9acc8cb45 • Andrew Kelley • Dec 28, 2016
rename self_hosted3 to self_hosted
dc26dec8e0 • Andrew Kelley • Dec 28, 2016
IR: pass genericFnWithImplicitCast test
94f977a6c1 • Andrew Kelley • Dec 28, 2016
IR: pass pointerToVoidReturnType test
f6ac2fa70e • Andrew Kelley • Dec 28, 2016
IR: pass passSliceOfEmptyStructToFn test
25a5fc32fe • Andrew Kelley • Dec 28, 2016
IR: pass castSliceToU8Slice test
15f843e70f • Andrew Kelley • Dec 26, 2016
IR: pass intToEnum test
66a83d8738 • Andrew Kelley • Dec 26, 2016
IR: pass cStringConcatenation test
c8a7ab7eff • Andrew Kelley • Dec 26, 2016
IR: pass pointerComparison test
7504be923b • Andrew Kelley • Dec 26, 2016
IR: pass intToPtrCast test
735cdbfdac • Andrew Kelley • Dec 26, 2016
IR: port all passing tests over
aee7ad3de2 • Andrew Kelley • Dec 26, 2016
IR: pass staticEvalListInit test
73a751911e • Andrew Kelley • Dec 26, 2016
IR: port more tests
6ed835ca67 • Andrew Kelley • Dec 26, 2016
IR: pass genericMallocFree test
3ef6663b72 • Andrew Kelley • Dec 26, 2016
IR: pass explicitCastMaybePointers test
110a6f39ca • Andrew Kelley • Dec 26, 2016
IR testing: rename cases3 dir to cases
6c9ec3688e • Andrew Kelley • Dec 26, 2016
IR: port more tests
66777ccd7d • Andrew Kelley • Dec 26, 2016
IR: pass enumToInt test
4664f793dc • Andrew Kelley • Dec 26, 2016
IR: port more tests
1b5d1877ae • Andrew Kelley • Dec 26, 2016