aboutsummaryrefslogtreecommitdiff
path: root/src/ast_render.cpp
AgeCommit message (Collapse)Author
2016-12-18IR: all structs anonymousAndrew Kelley
2016-12-17IR: add more instructionsAndrew Kelley
* MaybeWrap * TestErr * UnwrapErrCode * UnwrapErrPayload * ErrUnionTypeChild * ErrWrapCode * ErrWrapPayload
2016-12-13IR: implement maybe return expressionAndrew Kelley
2016-12-12IR: implement memcpy, memset, and slice expressionAndrew Kelley
2016-12-11IR: fix implementation of parsehAndrew Kelley
libc hello world works now
2016-12-06IR: implement deferAndrew Kelley
2016-12-05IR: implement break and continueAndrew Kelley
2016-12-05IR: implement generic function callsAndrew Kelley
2016-12-04add missing copyright noticesAndrew Kelley
2016-12-04IR: re-organize where state goes to prepare for genericsAndrew 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-26IR: support goto and labelsAndrew Kelley
2016-11-26IR: support import builtin functionAndrew Kelley
2016-11-26IR: switch expression works with numbersAndrew Kelley
2016-11-24IR: generating a switch statementAndrew Kelley
2016-11-21IR: support unwrap maybe operationAndrew Kelley
2016-11-19IR: error for uncasted null lit variableAndrew Kelley
2016-11-19IR: implement compileVar builtin and moreAndrew Kelley
* implicit array to slice cast * fix if statements at global scope * implement array type IR
2016-11-18IR: more maybe type supportAndrew Kelley
2016-11-18IR: support setDebugSafety builtin functionAndrew Kelley
2016-11-17remove AST cloning code and add AST render for while loopsAndrew Kelley
2016-11-13IR: add assembly instructionAndrew Kelley
2016-11-13IR: fix prefix op eval setting wrong typeAndrew Kelley
2016-11-13IR handles global variables correctlyAndrew Kelley
2016-11-04WIP moving all analysis to IRAndrew Kelley
2016-09-28remove compiler directivesAndrew 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-26add this keyword refers to thing in immediate scopeAndrew Kelley
See #169
2016-09-19use size_t for indexesAndrew Kelley
protect against incorrect copies in debug mode
2016-09-08ability to infer parameter typesAndrew Kelley
2016-08-08add zeroes valueAndrew Kelley
2016-08-04new multiline string syntaxAndrew Kelley
This patch also moves a bunch of the parser code into the tokenizer. Closes #162.
2016-07-27explicit wrapping integer operationsAndrew Kelley
instead of wrapping integer types closes #159
2016-07-25inline parametersAndrew 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-17rename NodeTypeStructDecl to NodeTypeContainerDeclAndrew Kelley
2016-07-09parseh: support octal in C macro string literalAndrew Kelley
2016-05-07better array concatenation semanticsAndrew Kelley
closes #87
2016-04-28add array multiplication operatorAndrew Kelley
2016-04-24add skeleton for union supportAndrew Kelley
2016-04-22parseh: support anonymous enums and enums with initializersAndrew Kelley
2016-04-22add syntax to allow symbols to have arbitrary strings as namesAndrew Kelley
2016-04-14fix crash with generic function and implicit castAndrew Kelley
2016-04-06support simple generic functionsAndrew Kelley
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-16back to normal print specifiersAndrew Kelley
disable warnings for format specifiers on mingw since the compiler emits bogus warnings
2016-02-16use PRIuMAX instead of PRIu64 for mingwAndrew Kelley
2016-02-16update bootstrap to work for macos tooAndrew Kelley
* Directives can have arbitrary expressions as parameters * Fix switch statement not generating code sometimes * Rename "main" fn in bootstrap.zig to "zig_user_main" to avoid name collisions * codegen: fix badref when unreachable is last thing in an expression * support #condition directive on exported functions
2016-02-09fix build with GCCAndrew Kelley
2016-02-06simple unconditional defer supportAndrew Kelley
See #110
2016-02-05parsing code for defer and moreAndrew Kelley
* disable goto and label support see #44 * refactor the way block contexts work
2016-02-01inline is a keyword instead of a directiveAndrew Kelley
2016-02-01add ?? prefix operatorAndrew Kelley