Andrew Kelley
|
4dc2b82506
|
constant initializers allow simple expressions
|
2015-12-14 23:49:56 -07:00 |
|
Andrew Kelley
|
83b68c9f13
|
add global variable support
closes #12
|
2015-12-14 23:10:18 -07:00 |
|
Andrew Kelley
|
52e19b4a9b
|
analyze: BlockContext has concept of module scope
|
2015-12-14 22:06:25 -07:00 |
|
Andrew Kelley
|
e411467e1d
|
add number literal type
it gets implicitly casted to whatever is needed.
closes #24
|
2015-12-14 02:46:37 -07:00 |
|
Andrew Kelley
|
3d8eb10897
|
fix incorrect debug info path to imports
|
2015-12-13 14:34:07 -07:00 |
|
Andrew Kelley
|
bd77bc749a
|
structs are working
|
2015-12-12 22:55:29 -07:00 |
|
Andrew Kelley
|
ac630d354d
|
std: print_str no longer requires length argument
add explicit casting support from array to string
|
2015-12-12 02:05:08 -07:00 |
|
Andrew Kelley
|
a10277bd94
|
prepare codebase for struct and string support
parsing code for structs, strings, and c string literals
partial semantic analyzing code for structs, strings, and c string literals
|
2015-12-12 00:10:37 -07:00 |
|
Andrew Kelley
|
15ba5bc54e
|
provide std.zig and add it to import paths
|
2015-12-10 17:42:47 -07:00 |
|
Andrew Kelley
|
0dbee2300e
|
add inline assembly support
|
2015-12-10 15:34:38 -07:00 |
|
Andrew Kelley
|
6e0c3dc173
|
array access support
|
2015-12-08 14:47:17 -07:00 |
|
Andrew Kelley
|
75efc31329
|
add array access syntax
|
2015-12-08 14:15:34 -07:00 |
|
Josh Wolfe
|
f6eecfe5f4
|
getting started on array types
|
2015-12-07 08:29:19 -07:00 |
|
Josh Wolfe
|
5af4ef88ac
|
local variables work
|
2015-12-03 10:56:17 -07:00 |
|
Josh Wolfe
|
c6a9ab107b
|
string literals have type *const u8
|
2015-12-01 14:41:03 -07:00 |
|
Andrew Kelley
|
dfb6682089
|
add test for bad import
|
2015-12-01 02:29:21 -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 |
|