|
c2499f96c9
|
add struct intialization
|
2019-08-26 11:59:32 -03:00 |
|
|
19fd9daebf
|
add structs
|
2019-08-26 10:49:43 -03:00 |
|
|
45ae160b76
|
move ast printing functions to ast_printer.zig
|
2019-08-26 10:25:14 -03:00 |
|
|
8f7535e14e
|
parser: remove dead code
|
2019-08-25 23:55:19 -03:00 |
|
|
c0c93183cb
|
add return statements
|
2019-08-25 23:16:13 -03:00 |
|
|
5ba807d93f
|
add function calls
|
2019-08-25 22:41:25 -03:00 |
|
|
4f0c43865f
|
add loop parsing
|
2019-08-25 17:14:25 -03:00 |
|
|
19b79514b4
|
ast: rename IfBranch to Block, add LoopStmt
|
2019-08-25 16:57:22 -03:00 |
|
|
1ab966b853
|
add boolean AND and boolean OR
|
2019-08-25 13:21:22 -03:00 |
|
|
9b3e9e8139
|
add if statements
|
2019-08-25 13:02:40 -03:00 |
|
|
83910811fa
|
ast: add IfStmt and IfBranch
|
2019-08-25 12:31:57 -03:00 |
|
|
f9f6362c91
|
ast: add return type to FnDecl
- ast: make FnDecl and Const print better as s-expressions
|
2019-08-25 12:24:34 -03:00 |
|
|
4534549f41
|
fix var declarations by making them expressions
|
2019-08-25 11:38:55 -03:00 |
|
|
72bc932d23
|
add assignment support (without mut)
|
2019-08-25 10:27:50 -03:00 |
|
|
366be14cea
|
add assignment of mutable variables
|
2019-08-24 17:46:42 -03:00 |
|
|
7c4aa04b00
|
ast: add printing of Variable Expr
|
2019-08-24 17:25:08 -03:00 |
|
|
d93adbbd3e
|
vardecl: add VarDecl statement and Variable Expr
- ast: simplify stmt printing from printNode
- parser: create variables on parsePrimary
|
2019-08-24 17:22:08 -03:00 |
|
|
a4fa0e0cfc
|
ast: add stmt printing
|
2019-08-24 16:20:32 -03:00 |
|
|
86d8fe1a3a
|
add basics of statements
|
2019-08-24 16:00:22 -03:00 |
|
|
9ad0c7df0e
|
remove ident from printExpr
|
2019-08-24 11:15:41 -03:00 |
|
|
ea5de0914a
|
working expressions
|
2019-08-24 11:07:23 -03:00 |
|
|
f9cc734965
|
add (untested) expression parsing
|
2019-08-23 22:13:26 -03:00 |
|
|
899c015cbe
|
add basic const parsing (needs expr)
- parser: fix main root loop's priming
|
2019-08-23 16:34:41 -03:00 |
|
|
89e386d2d4
|
add basic param parsing
|
2019-08-23 15:52:04 -03:00 |
|
|
7ba140dd73
|
add better ast printing
|
2019-08-23 15:42:50 -03:00 |
|
|
e3fdf5399b
|
redo parser for the 300th time
|
2019-08-23 11:57:49 -03:00 |
|
|
11f810a5f3
|
add basic parameter parsing
|
2019-07-01 15:55:19 -03:00 |
|
|
e2438f143b
|
work towards FnDecl ast node
|
2019-07-01 15:25:07 -03:00 |
|
|
90f33e84fc
|
remove old parser, work towards rewritten parser
|
2019-07-01 15:01:43 -03:00 |
|
|
f70f2ea1ae
|
add basic parser
|
2019-06-05 22:06:12 -03:00 |
|
|
3becccfba8
|
revamp ast structure
|
2019-06-05 20:29:03 -03:00 |
|
|
b040f47956
|
ast: change AstBinOp to use *AstNode instead of AstNode
using raw AstNode causes compile-errors due to recursion.
|
2019-06-04 23:53:55 -03:00 |
|
|
c32b802765
|
ast: add some more love to pretty printer
|
2019-06-04 23:44:27 -03:00 |
|
|
71cef32fb0
|
add basic ast, parser files
|
2019-06-04 22:11:11 -03:00 |
|