aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
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-17os: implement windows os layerAndrew Kelley
2016-02-16rename 'environ' to 'env_type'Andrew Kelley
environ appears to clash with another symbol in mingw land
2016-02-15first pass at linking on macosAndrew Kelley
2016-02-11add @compile_var("os") and @compile_var("arch")Andrew Kelley
2016-02-11ability to cross compileAndrew Kelley
hello_libc.zig can produce a windows build
2016-02-10cleanup target data organizationAndrew Kelley
2016-02-10targets command shows which ones are nativeAndrew Kelley
2016-02-10add "targets" command to list architectures, oses, abisAndrew Kelley
2016-02-08support overriding the dynamic linker argument to ldAndrew Kelley
2016-02-08support static linking against libcAndrew Kelley
2016-02-03basic support for building a test targetAndrew Kelley
2016-02-02build: fix libc path findingAndrew Kelley
2016-01-31add --library-path cli optionAndrew Kelley
2016-01-31delete bogus --help textAndrew Kelley
2016-01-31parseh understands types better and handles some situations betterAndrew Kelley
See #88 Also, includes partial implementation of typedef top level declaration. See #95 Also, fix function types. Previously the way we were deduping function type pointers was incorrect.
2016-01-29parseh properly ignores anonymous structsAndrew Kelley
and nodes get valid create_index values
2016-01-28parseh: add --c-import-warnings optionAndrew Kelley
2016-01-27move AST rendering code to separate fileAndrew Kelley
2016-01-27build command supports -isystem argumentAndrew Kelley
2016-01-27parseh correctly handles C's void typeAndrew Kelley
2016-01-27parseh: recognize typedef typesAndrew Kelley
and fix const qualifier on pointers
2016-01-27parseh works for simple functionsAndrew Kelley
2016-01-27upgrade to the libclang C++ APIAndrew Kelley
c_import creates a tmp .h file and parses it with libclang, reporting any errors found. See #88
2016-01-18Revert "delete parseh"Andrew Kelley
This reverts commit 18374ea8f18b6b48c53e6e7bd23d536ac2e8a807.
2016-01-15delete parsehAndrew Kelley
we'll have to switch to the clang C++ api anyway we'll revive this code later
2015-12-15when linking with libc use the C runtime libraryAndrew Kelley
2015-12-13fix incorrect debug info path to importsAndrew Kelley
2015-12-03parseh command, parses a C .h file and produces extern declsAndrew Kelley
2015-12-03add labels and gotoAndrew Kelley
2015-12-01add --color cli arg to override tty detectionAndrew Kelley
2015-11-30closer to multiple files workingAndrew Kelley
2015-11-30refactor code to prepare for multiple filesAndrew Kelley
verbose compiler output is now behind --verbose flag
2015-11-30factor analysis code out of codegenJosh Wolfe
2015-11-27add root export declaration which is overridable by command line optionsAndrew Kelley
2015-11-27add pub and export visibility modifiers and optimizationAndrew Kelley
2015-11-25fix the remaining TODOs in the sourceAndrew Kelley
2015-11-24debug/release modeAndrew Kelley
2015-11-24debug information for functionsAndrew Kelley
2015-11-24add unreachable expressionAndrew Kelley
now creating .o file from hello.zig correctly
2015-11-24write object file and fix void return typeAndrew Kelley
2015-11-23semantic analysis checks for multiple definitions of functionsAndrew Kelley
2015-11-23parsing hello.zig example with recursive descentAndrew Kelley
that was easy
2015-11-06generated parser understands tuplesAndrew Kelley
2015-11-05delete ELF parsing codeAndrew Kelley
2015-11-05experiment with being a linkerAndrew Kelley
2015-11-04progress toward more complex parser genAndrew Kelley
2015-11-03parser generator beginningsAndrew Kelley
2015-11-02building part of the hello world ASTAndrew Kelley
2015-11-01tokenizing hello.zigAndrew Kelley