Jimmi Holst Christensen
|
ca0085c46d
|
std.zig.parser now parses error set declarations
|
2018-04-04 10:54:48 +02:00 |
|
Jimmi Holst Christensen
|
09cf823619
|
std.zig.parser now parses container decls
|
2018-04-04 09:57:37 +02:00 |
|
Jimmi Holst Christensen
|
ec611bf8b4
|
std.zig.parser now parses regular enums, unions and struct
* Still missing packed, and extern
|
2018-04-03 20:00:02 +02:00 |
|
Jimmi Holst Christensen
|
d602f12df8
|
std.zig.ast Added ContainerDecl
|
2018-04-03 15:59:14 +02:00 |
|
Jimmi Holst Christensen
|
9d69e94bba
|
std.zig.parser now parses grouped expressions
* I also moved some tests down, as they fail in ways I can't fix yet
|
2018-04-03 15:16:32 +02:00 |
|
Jimmi Holst Christensen
|
5c82ed2ea9
|
std.zig.parser now parses initializers... Or, it would, if it worked
|
2018-04-03 14:53:27 +02:00 |
|
Jimmi Holst Christensen
|
0b9247fb63
|
std.zig.parser Refactor:
* Slice/Array access is now not parsed in the expr contruction loop
* State.ExprListItemOrEnd now takes a token id for the end token
|
2018-04-03 14:20:34 +02:00 |
|
Jimmi Holst Christensen
|
b424cd75ab
|
std.zig.parser refactored call, slice and array access to be suffix op
|
2018-04-03 12:33:06 +02:00 |
|
Jimmi Holst Christensen
|
a2330d0ea3
|
std.zig.parser now parses slice and array types
|
2018-04-03 10:54:19 +02:00 |
|
Jimmi Holst Christensen
|
b9093185f7
|
std.zig.parser now parses slicing and array access
|
2018-04-01 22:02:51 +02:00 |
|
Jimmi Holst Christensen
|
df09c01f7f
|
std.zig.parser now parses error, this and unreachable
|
2018-03-31 22:48:12 +02:00 |
|
Jimmi Holst Christensen
|
aabf7cf57e
|
std.zig.parser now parses null and bool literals
|
2018-03-31 22:10:49 +02:00 |
|
Jimmi Holst Christensen
|
975dc5a390
|
std.zig.parser now parses char literals
|
2018-03-31 21:28:40 +02:00 |
|
Jimmi Holst Christensen
|
4d8f9e2295
|
std.zig.parser now parses multi line strings
|
2018-03-31 21:04:54 +02:00 |
|
Jimmi Holst Christensen
|
4793c3397e
|
std.zig.parser now handles lib name for extern var and fn
|
2018-03-31 17:46:29 +02:00 |
|
Jimmi Holst Christensen
|
24071c6803
|
std.zig.parser parses all prefix operators
|
2018-03-30 21:45:42 +02:00 |
|
Jimmi Holst Christensen
|
edca173997
|
std.zig.parser now parses call expr
|
2018-03-29 23:40:46 +02:00 |
|
Jimmi Holst Christensen
|
8ada030971
|
Fixed self hosted compiler compiler error from prev commit
|
2018-03-29 22:37:54 +02:00 |
|
Jimmi Holst Christensen
|
530f795769
|
std.zig.parser now supports all infix operators
|
2018-03-29 22:31:17 +02:00 |
|
Jimmi Holst Christensen
|
9df2a6a502
|
std.zig.parser can now parse top level test declarations
|
2018-03-29 13:43:17 +02:00 |
|
Andrew Kelley
|
5f5880979e
|
zig fmt supports simple line comments
|
2018-02-15 12:30:29 -05:00 |
|
Andrew Kelley
|
ca597e2bfb
|
std.zig.parser understands try. zig fmt respects a double line break.
|
2018-02-14 23:00:53 -05:00 |
|
Andrew Kelley
|
629f134d38
|
std.zig.parser understands inferred return type and error inference
|
2018-02-14 15:50:40 -05:00 |
|
Andrew Kelley
|
e8d81c5acf
|
fix build broken by previous commit
|
2018-02-14 13:55:06 -05:00 |
|
Andrew Kelley
|
d790670f4c
|
self hosted parser: support string literals
|
2018-02-14 13:43:05 -05:00 |
|
Andrew Kelley
|
dfbb8254ca
|
fix self hosted tokenizer handling of EOF
|
2018-02-12 21:26:15 -05:00 |
|
Andrew Kelley
|
1fb308ceee
|
self hosted compiler: move tokenization and parsing to std lib
|
2018-02-09 13:08:02 -05:00 |
|