aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
AgeCommit message (Collapse)Author
2016-05-07self hosted tests test release mode tooAndrew Kelley
closes #69
2016-05-07better array concatenation semanticsAndrew Kelley
closes #87
2016-05-06add frame_address and return_address builtinsAndrew Kelley
2016-05-06add shl_with_overflow builtin functionAndrew Kelley
See #46
2016-05-06add debug safety for left shiftingAndrew Kelley
See #46
2016-05-05add tests for integer overflow crashingAndrew Kelley
see #46
2016-05-05add integer wrappingAndrew Kelley
see #46
2016-05-04add fence builtin functionAndrew Kelley
2016-05-04add cmpxchg builtin functionAndrew Kelley
2016-05-03beginnings of network standard library codeAndrew Kelley
2016-05-03support maybe destructuring into a pointer variableAndrew Kelley
2016-04-28add array multiplication operatorAndrew Kelley
2016-04-28better alignment value for stack variablesAndrew Kelley
fixes debug info sometimes not being available for parameters
2016-04-27better parameter codegenAndrew Kelley
* ability to take address of a parameter (closes #97) * debug symbols work for parameters
2016-04-26add missing debug entry for breakpointAndrew Kelley
2016-04-26ability to compare booleansAndrew Kelley
2016-04-26add array bounds checking in debug modeAndrew Kelley
closes #27
2016-04-25support switching on error union typeAndrew Kelley
closes #23
2016-04-24rename unknown_size_array to sliceAndrew Kelley
2016-04-24add codegen for pointer comparisonAndrew Kelley
see #145
2016-04-24add skeleton for union supportAndrew Kelley
2016-04-23fix handling of slice of zero bits typeAndrew Kelley
closes #143
2016-04-23fix returning empty struct from functionAndrew Kelley
closes #142
2016-04-21ability to use a struct with no fieldsAndrew Kelley
2016-04-20for loop: add ability to get pointer to elem varAndrew Kelley
see #51
2016-04-19add optional continue expression to while loopAndrew Kelley
closes #139
2016-04-19enum init uses container init syntax instead of fn callAndrew Kelley
See #5
2016-04-19implement constant initialization of enum valuesAndrew Kelley
see #5
2016-04-18add @embed_file builtin functionAndrew Kelley
2016-04-14move more tests to self-hosted landAndrew Kelley
2016-04-13fix evaluating generic functions in wrong contextAndrew Kelley
2016-04-12eval: ability to eval more thingsAndrew Kelley
2016-04-12eval: support more node typesAndrew 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-09add @breakpoint()Andrew Kelley
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-08fix crash when passing empty string to functionAndrew Kelley
2016-04-08update cat example, refactor stdAndrew Kelley
partial implementation of @err_name
2016-04-06support simple generic functionsAndrew Kelley
2016-03-08update to llvm 3.8.0Andrew Kelley
2016-03-01c_void is provided outside of C importsAndrew 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-16rename 'environ' to 'env_type'Andrew Kelley
environ appears to clash with another symbol in mingw land
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-15first pass at linking on macosAndrew Kelley
2016-02-15handle libc include path and libc lib path differentlyAndrew Kelley
2016-02-13respect link order in source codeAndrew Kelley