aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
AgeCommit message (Collapse)Author
2016-11-03add concept of inline for, inline while, inline varAndrew Kelley
2016-10-30*WIP*Andrew Kelley
2016-10-29ir: ability to modify global varsAndrew Kelley
2016-10-28IR: ability to assign to an array at runtimeAndrew Kelley
2016-10-27IR analysis unrolls a complicated loopAndrew Kelley
2016-10-27IR can inline loopsAndrew Kelley
2016-10-23IR supports variable assignmentAndrew Kelley
2016-10-23IR: introduce concept of lvaluesAndrew Kelley
2016-10-20add variable declaration initialization IRAndrew Kelley
2016-10-18add variable declaration IRAndrew Kelley
2016-10-16IR working for if statementsAndrew Kelley
2016-10-11IR if statements WIPAndrew Kelley
2016-10-09explicit casting works with IRAndrew Kelley
2016-10-06IR in 2 passesAndrew Kelley
2016-10-02simple add function works with IRAndrew Kelley
2016-09-30empty function compiles successfully with IRAndrew Kelley
2016-09-28fix regression: debug safety sometimes incorrectly disabledAndrew 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-23enums support member functionsAndrew Kelley
2016-09-23stack trace is able to figure out compilation unitAndrew Kelley
each address is contained within also fix a bug having to do with codegen for enum value initialization expressions
2016-09-21exporting an object creates an h fileAndrew Kelley
2016-09-19use size_t for indexesAndrew Kelley
protect against incorrect copies in debug mode
2016-09-18ability to specify -framework linker args for MacOSAndrew Kelley
2016-09-14darwin compat fixupsAndrew Kelley
- delete commented out code - delete redundant check for missing mmacosx-version-min/maxdir - add TODO comment in std library - rename 'os' to 'self' in io.zig - `openSelfExe` aborts on darwin instead of compile error - only allow warnings on the one parseh test that has `#include <stdint.h>`.
2016-09-14MacOSX compatibilityalter
- Implemented some syscall for MacOSX - tested on : El Capitan 10.11 x86_64 - make self hosted test run on macosx - modified run_test so it does not fail when parseh throws warnings (most of them are related to buildin types from gcc that arent defined in header files and unions) - making -mmacosx-version-min and -mios-version-min works like gcc (command line paramers have precedence over enviroment variables)
2016-09-13change `unreachable{}` to `@unreachable()`Andrew Kelley
instead of a container init expression, it's a builtin function call.
2016-09-10rename LLVMZig to ZigLLVMAndrew Kelley
2016-09-09Fix for C pointer generatorConstantine Tarasenkov
2016-09-08ability to infer parameter typesAndrew Kelley
2016-09-06build: fix warning on gcc 6.2Andrew Kelley
2016-09-05rename errName builtin to errorNameAndrew Kelley
2016-09-05rename compileErr builtin to compileErrorAndrew Kelley
2016-09-05fix gcc 5.4.0compile errorsAndrew Kelley
2016-09-04generate debug info for global constantsAndrew Kelley
See #41
2016-09-04port to llvm 3.9Andrew Kelley
2016-09-01restore shared library functionalityAndrew Kelley
2016-08-29add ability to explicitly cast enum with no payload to intAndrew Kelley
2016-08-29implement null as a literal typeAndrew Kelley
2016-08-29implement `?return` expressionAndrew Kelley
2016-08-17progress toward stack trace printingAndrew Kelley
2016-08-16std: conform to style guidelinesAndrew Kelley
2016-08-11add CBuf to standard libraryAndrew Kelley
and fix ability to take address of variables from other namespaces
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-26std: improve rand implementation and APIAndrew Kelley
2016-07-26unsigned integers for sizes of thingsAndrew Kelley
Closes #62.
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