aboutsummaryrefslogtreecommitdiff
path: root/test/self_hosted.zig
AgeCommit message (Collapse)Author
2016-04-19add optional continue expression to while loopAndrew Kelley
closes #139
2016-04-19fix casting with imported symbol not workingAndrew Kelley
2016-04-19enum init uses container init syntax instead of fn callAndrew Kelley
See #5
2016-04-19add test for public enumsAndrew Kelley
See #5
2016-04-19implement constant initialization of enum valuesAndrew Kelley
see #5
2016-04-18rearrange standard library a bitAndrew Kelley
2016-04-18move 2 tests to self hosted landAndrew Kelley
2016-04-14move more tests to self-hosted landAndrew Kelley
2016-04-14fix crash with generic function and implicit castAndrew Kelley
2016-04-13eval: support array literalsAndrew Kelley
2016-04-12more eval tests and fix eval call analyze codeAndrew Kelley
2016-04-12passing all testsAndrew Kelley
2016-04-11unsigned ints implicitly cast to signed ints when they fitAndrew Kelley
also fix #135
2016-04-10move some tests into self hostedAndrew Kelley
2016-04-10fix crash when casting undefined to sliceAndrew Kelley
also fix crash having to do with runtime allocated stack memory
2016-04-09goto: jumping out of scope runs defersAndrew Kelley
see #44
2016-04-09re-introduce gotoAndrew Kelley
see #44
2016-04-09fix debug symbols regression after llvm 3.8.0Andrew Kelley
2016-04-09implement @err_name builtin functionAndrew Kelley
2016-04-08support hex escapes in string literalsAndrew Kelley
2016-04-08fix crash when passing empty string to functionAndrew Kelley
2016-04-08update cat example, refactor stdAndrew Kelley
partial implementation of @err_name
2016-04-07fix segfault in generic functionsAndrew Kelley
See #22
2016-04-07generic functions use correct type for generic argsAndrew Kelley
See #22
2016-04-07support multiple generic function instancesAndrew Kelley
See #22
2016-04-06ability to compare function pointers at compile timeAndrew Kelley
2016-04-06support simple generic functionsAndrew Kelley
2016-04-03add multiline string literalAndrew Kelley
and make multiple lines in normal string literals an error
2016-03-01rewrite how importing worksAndrew Kelley
* Introduce the concept of packages. Closes #3 * Add support for error notes. * Introduce `@import` and `@c_import` builtin functions and remove the `import` and `c_import` top level declarations. * Introduce the `use` top level declaration. * Add `--check-unused` parameter to perform semantic analysis and codegen on all top level declarations, not just exported ones and ones referenced by exported ones. * Delete the root export node and add `--library` argument.
2016-02-13add @ctz, @clz and compiler_rt implementationAndrew Kelley
2016-02-12i386 supportAndrew Kelley
closes #115 Thanks to Seo Sanghyeon for the port code.
2016-02-11add @compile_var("os") and @compile_var("arch")Andrew Kelley
2016-02-09if statements can be const expr evaluatedAndrew Kelley
also introduce error for unnecessary if statement but if the condition depends on a compile variable, then the if statement is OK
2016-02-09std: fix parse_u64 implementation and add testAndrew Kelley
also codegen implement comparision with pure errors
2016-02-07array.len generates a constant number literal expressionAndrew Kelley
2016-02-07remove ptr field access of arraysAndrew Kelley
use &array[0] instead
2016-02-07implement @const_evalAndrew Kelley
closes #73
2016-02-07blocks with one statement pass constant expression evalAndrew Kelley
2016-02-07ability to explicitly cast maybe pointers to each otherAndrew Kelley
2016-02-07unreachable return type can cast to any other return typeAndrew Kelley
2016-02-06add test for ?? return and add const expr eval for ? prefix opAndrew Kelley
2016-02-06parser recognizes %return in a prefix op expressionAndrew Kelley
also defer only valid at statement level now see #110
2016-02-05update for loop syntaxAndrew Kelley
it matches more closely the %% binary operator syntax See #51
2016-02-04support variable in switch expression prongsAndrew Kelley
See #43
2016-02-04no namespace required when switching on enumAndrew Kelley
See #43
2016-02-04switch statements resolve peer compatibilityAndrew Kelley
2016-02-04codegen: fix switch expressions for enums with payloadsAndrew Kelley
2016-02-04ability to explicitly cast bool to intAndrew Kelley
2016-02-04for loop supports break and continueAndrew Kelley
See #51
2016-02-04implement constant values for enums with payloadAndrew Kelley