|
8007f9e860
|
add PlusEqual and MinusEqual for variable assignment
|
2019-08-27 11:25:04 -03:00 |
|
|
c63b42c414
|
readme: move error handling to sub-objectives of a type system
|
2019-08-26 22:44:36 -03:00 |
|
|
a068dfc021
|
update readme
|
2019-08-26 22:42:39 -03:00 |
|
|
779ff33f8f
|
update readme
|
2019-08-26 21:57:01 -03:00 |
|
|
ac5d29819c
|
split access modifier parsing into own func
- revamp parsing of access modifiers so it is correct
|
2019-08-26 21:43:58 -03:00 |
|
|
96d48f8762
|
tokens: add pub TokenType
|
2019-08-26 21:32:10 -03:00 |
|
|
fc4b84b51c
|
scanner: add pub keyword
|
2019-08-26 21:31:57 -03:00 |
|
|
a706f077cb
|
add pub/mut modifiers to struct fields
|
2019-08-26 21:31:01 -03:00 |
|
|
b436ad831a
|
readme: methods are done
|
2019-08-26 21:13:42 -03:00 |
|
|
1572b913f8
|
ast_printer: print return types
|
2019-08-26 21:12:41 -03:00 |
|
|
20e5c2339f
|
ast_printer: add support for method data
|
2019-08-26 20:36:48 -03:00 |
|
|
e0d712cd9f
|
split pre-method into parsePreMethod
|
2019-08-26 20:31:15 -03:00 |
|
|
a72346b888
|
s/consume/consumeSingle
|
2019-08-26 20:23:11 -03:00 |
|
|
5f8d9da6fa
|
parser: add incomplete parsing of method functions
|
2019-08-26 20:21:39 -03:00 |
|
|
e2f7343242
|
allow optional return types on functions
|
2019-08-26 17:26:20 -03:00 |
|
|
9eaa71cbd6
|
remove some debug calls
|
2019-08-26 15:29:59 -03:00 |
|
|
9e32ff9e16
|
parser: split into finishAssignment
|
2019-08-26 15:19:31 -03:00 |
|
|
c3f0b4b4d5
|
parser: simplify parseBlock
|
2019-08-26 14:59:14 -03:00 |
|
|
1c8eda7305
|
ast: remove Expr Node (lives under Stmt)
|
2019-08-26 14:48:53 -03:00 |
|
|
b382c136ec
|
parser: make parseExpr return Expr instead of Node
|
2019-08-26 14:46:00 -03:00 |
|
|
3cd19e6515
|
add todo to readme
|
2019-08-26 14:30:13 -03:00 |
|
|
5bb57116c0
|
update readme
|
2019-08-26 14:26:58 -03:00 |
|
|
6a52297cce
|
readme: s/spoodle/vig
|
2019-08-26 13:43:07 -03:00 |
|
|
bd036ff961
|
build.zig: s/spoodle/vig
|
2019-08-26 13:39:00 -03:00 |
|
|
45b027e90f
|
add assignment to struct fields
|
2019-08-26 13:29:45 -03:00 |
|
|
d55137a7c7
|
lift restraint on Calls being only made to Variables
|
2019-08-26 13:17:25 -03:00 |
|
|
0ecfb75081
|
add struct field getting
|
2019-08-26 13:15:08 -03:00 |
|
|
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 |
|
|
a3127c76e7
|
remove optional from parseTopDecl
|
2019-08-26 09:54:01 -03:00 |
|
|
90543d1d56
|
parser: make internal tokens use ArrayList(Token)
|
2019-08-25 23:59:01 -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 |
|
|
8f44cbea23
|
parser: ensure calls only happen to Variables
|
2019-08-25 22:55:53 -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 |
|
|
460055e186
|
add loop keyword
|
2019-08-25 16:49:08 -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 |
|
|
02c2055601
|
parser: make println consume parens
|
2019-08-24 16:56:58 -03:00 |
|
|
1651a99faf
|
parser: don't skip tokens on groupings
|
2019-08-24 16:51:37 -03:00 |
|