Andrew Kelley
|
fa1ea6062b
|
parseh works for simple functions
|
2016-01-27 03:12:06 -07:00 |
|
Andrew Kelley
|
0278468479
|
upgrade to the libclang C++ API
c_import creates a tmp .h file and parses it with libclang,
reporting any errors found.
See #88
|
2016-01-27 00:01:49 -07:00 |
|
Andrew Kelley
|
890714b8ca
|
Revert "delete parseh"
This reverts commit 18374ea8f1 .
|
2016-01-18 21:28:54 -07:00 |
|
Andrew Kelley
|
18374ea8f1
|
delete parseh
we'll have to switch to the clang C++ api anyway
we'll revive this code later
|
2016-01-15 14:16:07 -07:00 |
|
Andrew Kelley
|
f5a3281877
|
when linking with libc use the C runtime library
|
2015-12-15 12:44:42 -07:00 |
|
Andrew Kelley
|
3d8eb10897
|
fix incorrect debug info path to imports
|
2015-12-13 14:34:07 -07:00 |
|
Andrew Kelley
|
ad3f98c615
|
parseh command, parses a C .h file and produces extern decls
|
2015-12-03 16:00:14 -07:00 |
|
Andrew Kelley
|
f8ca6c70c7
|
add labels and goto
|
2015-12-03 00:47:35 -07:00 |
|
Andrew Kelley
|
29f24e3c50
|
add --color cli arg to override tty detection
|
2015-12-01 01:06:10 -07:00 |
|
Andrew Kelley
|
cd68969115
|
closer to multiple files working
|
2015-11-30 22:53:37 -07:00 |
|
Andrew Kelley
|
55b8472374
|
refactor code to prepare for multiple files
verbose compiler output is now behind --verbose flag
|
2015-11-30 20:00:39 -07:00 |
|
Josh Wolfe
|
9e0ff6faa2
|
factor analysis code out of codegen
|
2015-11-30 09:14:58 -07:00 |
|
Andrew Kelley
|
cb4773ce29
|
add root export declaration which is overridable by command line options
|
2015-11-27 21:24:47 -07:00 |
|
Andrew Kelley
|
024052b448
|
add pub and export visibility modifiers and optimization
|
2015-11-27 15:46:06 -07:00 |
|
Andrew Kelley
|
22421447fb
|
fix the remaining TODOs in the source
|
2015-11-25 16:36:03 -07:00 |
|
Andrew Kelley
|
505317a12f
|
debug/release mode
|
2015-11-24 22:32:26 -07:00 |
|
Andrew Kelley
|
ca836191e1
|
debug information for functions
|
2015-11-24 19:07:33 -07:00 |
|
Andrew Kelley
|
925c805d4b
|
add unreachable expression
now creating .o file from hello.zig correctly
|
2015-11-24 13:37:14 -07:00 |
|
Andrew Kelley
|
c2e5d50027
|
write object file and fix void return type
|
2015-11-24 13:00:38 -07:00 |
|
Andrew Kelley
|
3b4a2afb65
|
semantic analysis checks for multiple definitions of functions
|
2015-11-23 22:47:25 -07:00 |
|
Andrew Kelley
|
1b24f4c73c
|
parsing hello.zig example with recursive descent
that was easy
|
2015-11-23 21:30:12 -07:00 |
|
Andrew Kelley
|
72be61fc0a
|
generated parser understands tuples
|
2015-11-06 22:11:47 -07:00 |
|
Andrew Kelley
|
4ecb37a8a4
|
delete ELF parsing code
|
2015-11-05 00:06:36 -07:00 |
|
Andrew Kelley
|
775e98be5a
|
experiment with being a linker
|
2015-11-05 00:05:25 -07:00 |
|
Andrew Kelley
|
174baa49bd
|
progress toward more complex parser gen
|
2015-11-04 17:15:46 -07:00 |
|
Andrew Kelley
|
7cfceeca2d
|
parser generator beginnings
|
2015-11-03 22:39:35 -07:00 |
|
Andrew Kelley
|
303823b6b8
|
building part of the hello world AST
|
2015-11-02 03:39:36 -07:00 |
|
Andrew Kelley
|
34f8d80eac
|
tokenizing hello.zig
|
2015-11-01 22:21:33 -07:00 |
|
Andrew Kelley
|
5f48463bdd
|
some half done thing I forgot about ¯\_(ツ)_/¯
|
2015-08-23 22:45:20 -07:00 |
|
Andrew Kelley
|
d519ce87dd
|
preprocessor runs once
|
2015-08-05 21:47:08 -07:00 |
|
Andrew Kelley
|
e71521335a
|
preprocessor detects #include directives
|
2015-08-05 20:26:58 -07:00 |
|
Andrew Kelley
|
e09932928a
|
tokenize
|
2015-08-05 17:44:05 -07:00 |
|
Andrew Kelley
|
899c9fe94e
|
read a file
|
2015-08-05 16:22:21 -07:00 |
|