| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-03-16 | introduce new test syntax | Andrew Kelley | |
| * remove setFnTest builtin * add test "name" { ... } syntax * remove --check-unused argument. functions are always lazy now. | |||
| 2017-02-07 | inline assembly allows clobbers with no input | Andrew Kelley | |
| 2017-02-05 | try expression can omit variable assignments | Andrew Kelley | |
| 2017-02-04 | inline assembly supports `%=` syntax | Andrew Kelley | |
| it outputs a number that is unique to each instance of the asm statement in the entire compilation. useful when creating local labels and referring to them multiple times in a single template that generates multiple assembler instructions | |||
| 2017-02-04 | remove volatileStore builtin; add volatile pointers | Andrew Kelley | |
| closes #238 | |||
| 2017-02-03 | implement packed structs | Andrew Kelley | |
| closes #183 | |||
| 2017-02-02 | add try expression | Andrew Kelley | |
| See #83 | |||
| 2017-02-02 | remove ability to mark if and switch as inline | Andrew Kelley | |
| if and switch are implicitly inline if the condition/target expression is known at compile time. instead of: ``` inline if (condition) ... inline switch (target) ... ``` one can use: ``` if (comptime condition) ... switch (comptime target) ... ``` | |||
| 2017-01-23 | various fixes | Andrew Kelley | |
| * comptime expression is a block expression as it should be * fix var args when number of args passed is 0 * implement const value equality for structs * fix indent when rendering container decl AST * IR: prevent duplicate generation of code when it is partially compile-time evaluated * implement compile time struct field pointer evaluation * fix compile time evaluation of slicing | |||
| 2017-01-23 | basic support for functions with variable length arguments | Andrew Kelley | |
| See #77 | |||
| 2017-01-22 | introduce comptime expression | Andrew Kelley | |
| closes #221 | |||
| 2017-01-22 | use comptime instead of inline for var and params | Andrew Kelley | |
| See #221 | |||
| 2017-01-16 | get rid of zeroes literal | Andrew Kelley | |
| closes #222 | |||
| 2017-01-13 | fix some stuff when llvm has assertions on | Andrew Kelley | |
| 2016-12-31 | IR: progress toward compiling standard library | Andrew Kelley | |
| * comptime fn call * is_comptime doesn't count as an instruction dependency * update more std code to latest zig | |||
| 2016-12-18 | hello.zig working with all structs anonymous | Andrew Kelley | |
| 2016-12-18 | IR: all structs anonymous | Andrew Kelley | |
| 2016-12-07 | IR: add error for assigning runtime value to inline var | Andrew Kelley | |
| 2016-12-06 | IR: implement defer | Andrew Kelley | |
| 2016-12-04 | IR: re-organize where state goes to prepare for generics | Andrew Kelley | |
| * Rip out legacy code for generics * put scope in instruction instead of AST nodes * separate top level decl stuff from AST nodes - remove the assumption that there is a 1:1 correspondence between an output instruction and an AST node - This way we won't have to clone AST nodes for generics. | |||
| 2016-11-26 | IR: add inline goto | Andrew Kelley | |
| 2016-11-26 | IR: fix parsing while loop | Andrew Kelley | |
| 2016-11-26 | IR: support inline switch | Andrew Kelley | |
| 2016-11-24 | IR: generating a switch statement | Andrew Kelley | |
| 2016-11-17 | remove AST cloning code and add AST render for while loops | Andrew Kelley | |
| 2016-11-17 | IR: pointers to constants don't copy data | Andrew Kelley | |
| 2016-11-03 | add concept of inline for, inline while, inline var | Andrew Kelley | |
| 2016-10-16 | IR working for if statements | Andrew Kelley | |
| 2016-09-30 | empty function compiles successfully with IR | Andrew Kelley | |
| 2016-09-28 | remove compiler directives | Andrew Kelley | |
| * add `setFnTest`, `setFnVisible`, `setFnStaticEval`, `setFnNoInline` builtin functions to replace previous directive functionality * add `coldcc` and `nakedcc` as keywords which can be used as part of a function prototype. * `setDebugSafety` builtin can be used to set debug safety features at a per block scope level. * closes #169 | |||
| 2016-09-26 | add this keyword refers to thing in immediate scope | Andrew Kelley | |
| See #169 | |||
| 2016-09-19 | use size_t for indexes | Andrew Kelley | |
| protect against incorrect copies in debug mode | |||
| 2016-09-08 | ability to infer parameter types | Andrew Kelley | |
| 2016-08-08 | add zeroes value | Andrew Kelley | |
| 2016-08-04 | new multiline string syntax | Andrew Kelley | |
| This patch also moves a bunch of the parser code into the tokenizer. Closes #162. | |||
| 2016-07-27 | explicit wrapping integer operations | Andrew Kelley | |
| instead of wrapping integer types closes #159 | |||
| 2016-07-26 | std: improve rand implementation and API | Andrew Kelley | |
| 2016-07-25 | inline parameters | Andrew Kelley | |
| This replaces the current generic syntax for functions and replaces it with the concept of inline parameters. This paves the way for the "all structs anonymous" proposal. Closes #151. | |||
| 2016-07-17 | rename NodeTypeStructDecl to NodeTypeContainerDecl | Andrew Kelley | |
| 2016-05-18 | inline assembly: allow empty output list | Andrew Kelley | |
| 2016-05-18 | fix offset map for inline assembly error messages | Andrew Kelley | |
| 2016-05-18 | fix raw string literal crash | Andrew Kelley | |
| 2016-05-09 | fix ability to use previous generic params and | Andrew Kelley | |
| add error when `%return` shows up in a function with incorrect return type | |||
| 2016-05-09 | support variable declarations in structs | Andrew Kelley | |
| See #22 | |||
| 2016-05-07 | support generic data structures | Andrew Kelley | |
| See #22 | |||
| 2016-05-07 | better array concatenation semantics | Andrew Kelley | |
| closes #87 | |||
| 2016-05-03 | support maybe destructuring into a pointer variable | Andrew Kelley | |
| 2016-05-01 | implement string escapes | Andrew Kelley | |
| 2016-04-28 | add array multiplication operator | Andrew Kelley | |
| 2016-04-28 | ability to specify body of an extern function | Andrew Kelley | |
| closes #101 | |||
