Commit Graph

38 Commits

Author SHA1 Message Date
Luna f9e8543b7c fixes for latest zig 2019-12-07 19:45:12 -03:00
Luna 8bce47f5cc add for statements 2019-08-29 14:30:33 -03:00
Luna 9781a28df7 add enum support 2019-08-27 12:31:02 -03:00
Luna 6ab7cdbe20 add array parsing 2019-08-27 12:19:10 -03:00
Luna e0a60ddc2c add SlashEqual operator 2019-08-27 11:58:32 -03:00
Luna eb7a485206 parser: simplify finishAssignment, add StarEqual support 2019-08-27 11:54:21 -03:00
Luna a0808b54aa parser: add PlusEqual and MinusEqual to Get expressions 2019-08-27 11:29:17 -03:00
Luna 8007f9e860 add PlusEqual and MinusEqual for variable assignment 2019-08-27 11:25:04 -03:00
Luna 779ff33f8f update readme 2019-08-26 21:57:01 -03:00
Luna 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
Luna a72346b888 s/consume/consumeSingle 2019-08-26 20:23:11 -03:00
Luna e2f7343242 allow optional return types on functions 2019-08-26 17:26:20 -03:00
Luna 9eaa71cbd6 remove some debug calls 2019-08-26 15:29:59 -03:00
Luna 3cd19e6515 add todo to readme 2019-08-26 14:30:13 -03:00
Luna 45b027e90f add assignment to struct fields 2019-08-26 13:29:45 -03:00
Luna d55137a7c7 lift restraint on Calls being only made to Variables 2019-08-26 13:17:25 -03:00
Luna 0ecfb75081 add struct field getting 2019-08-26 13:15:08 -03:00
Luna c2499f96c9 add struct intialization 2019-08-26 11:59:32 -03:00
Luna 19fd9daebf add structs 2019-08-26 10:49:43 -03:00
Luna a3127c76e7 remove optional from parseTopDecl 2019-08-26 09:54:01 -03:00
Luna c0c93183cb add return statements 2019-08-25 23:16:13 -03:00
Luna 5ba807d93f add function calls 2019-08-25 22:41:25 -03:00
Luna 4f0c43865f add loop parsing 2019-08-25 17:14:25 -03:00
Luna 1ab966b853 add boolean AND and boolean OR 2019-08-25 13:21:22 -03:00
Luna 9b3e9e8139 add if statements 2019-08-25 13:02:40 -03:00
Luna 4534549f41 fix var declarations by making them expressions 2019-08-25 11:38:55 -03:00
Luna 72bc932d23 add assignment support (without mut) 2019-08-25 10:27:50 -03:00
Luna 366be14cea add assignment of mutable variables 2019-08-24 17:46:42 -03:00
Luna 7c4aa04b00 ast: add printing of Variable Expr 2019-08-24 17:25:08 -03:00
Luna 02c2055601 parser: make println consume parens 2019-08-24 16:56:58 -03:00
Luna 9ad0c7df0e remove ident from printExpr 2019-08-24 11:15:41 -03:00
Luna ea5de0914a working expressions 2019-08-24 11:07:23 -03:00
Luna f9cc734965 add (untested) expression parsing 2019-08-23 22:13:26 -03:00
Luna 899c015cbe add basic const parsing (needs expr)
- parser: fix main root loop's priming
2019-08-23 16:34:41 -03:00
Luna 89e386d2d4 add basic param parsing 2019-08-23 15:52:04 -03:00
Luna e3fdf5399b redo parser for the 300th time 2019-08-23 11:57:49 -03:00
Luna 11f810a5f3 add basic parameter parsing 2019-07-01 15:55:19 -03:00
Luna 90f33e84fc remove old parser, work towards rewritten parser 2019-07-01 15:01:43 -03:00