Commits

IR: implement truncate builtin

3429639e84 • Andrew Kelley • Dec 11, 2016

IR: implement divExact builtin

433c17aeb1 • Andrew Kelley • Dec 11, 2016

IR: implement fence and cmpxchg builtins

8fcb1a141b • Andrew Kelley • Dec 11, 2016

IR: implement embedFile builtin

10cea15cc3 • Andrew Kelley • Dec 11, 2016

IR: fix implementation of parseh

2dd85d52cc • Andrew Kelley • Dec 11, 2016

IR: don't crash if number literal used with pure error

3cfbec3eef • Andrew Kelley • Dec 10, 2016

IR: support error union type

6feae8a4e9 • Andrew Kelley • Dec 10, 2016

IR: fix errorName builtin

443e14afbd • Andrew Kelley • Dec 10, 2016

IR: better array len instruction

0ab953acb2 • Andrew Kelley • Dec 8, 2016

IR: omit debug safety checks in for loop codegen

d4a93dbac5 • Andrew Kelley • Dec 8, 2016

IR: a bunch of fixes and some additions

7d0fb281fe • Andrew Kelley • Dec 8, 2016

IR: add compileError builtin fn

a148096e6a • Andrew Kelley • Dec 7, 2016

IR: add minValue, maxValue, and negation

0ad580f001 • Andrew Kelley • Dec 7, 2016

delete unused builtin function stuff

5e4ee659a6 • Andrew Kelley • Dec 7, 2016

IR: add error for assigning runtime value to inline var

c0b2fe4d6c • Andrew Kelley • Dec 7, 2016

IR: implement compile time eval unwrap maybe

7d9fa01ed5 • Andrew Kelley • Dec 7, 2016

IR: implement defer

6ed202ab16 • Andrew Kelley • Dec 7, 2016

remove the boolean argument from setFnTest

0c531d447d • Andrew Kelley • Dec 6, 2016

IR: implement short circuit bool or, and

bed83bc5a1 • Andrew Kelley • Dec 6, 2016

IR: implement break and continue

24048b2af6 • Andrew Kelley • Dec 5, 2016

IR: implement generic function calls

0541532ed6 • Andrew Kelley • Dec 5, 2016

IR: inline function evaluation works on generic functions

363606d87b • Andrew Kelley • Dec 5, 2016

IR: compile time function evaluation

25a89e7a36 • Andrew Kelley • Dec 5, 2016

add missing copyright notices

9f23475b17 • Andrew Kelley • Dec 5, 2016

IR: re-organize where state goes to prepare for generics

2f259b8176 • Andrew Kelley • Dec 4, 2016

rewrite scope implementation

f6cbb73c74 • Andrew Kelley • Dec 2, 2016

rename BlockContext to Scope

c6ace9720c • Andrew Kelley • Dec 1, 2016

IR: function call porting progress

eb5693d91f • Andrew Kelley • Nov 28, 2016

IR: silence irrelevant function prototype errors

9e7c475979 • Andrew Kelley • Nov 27, 2016

IR: fix not checking for error in unary bool not

e5325c7ef3 • Andrew Kelley • Nov 27, 2016

IR: add ref instruction

d9329ed389 • Andrew Kelley • Nov 27, 2016

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