Commit graph

21 commits

Author SHA1 Message Date
James Harton
c26491eaeb Add Map literal syntax and AST. 2018-09-13 12:01:28 +12:00
James Harton
335b36980f THIS TOO SHALL PASS 2018-09-11 18:40:17 +12:00
James Harton
ded34ed6b6 Improve AST tests. 2018-09-10 20:59:45 +12:00
James Harton
0429141baf Finally got all the stuff to parse 2018-09-10 19:39:19 +12:00
James Harton
bea8e5a92b Add some tests to define function and define module. 2018-09-09 15:29:12 +12:00
James Harton
c32adf0838 Split module and function defines. 2018-09-09 14:15:57 +12:00
James Harton
c166f66ac6 Almost completely rewritten AST 2018-09-08 21:08:53 +12:00
James Harton
4b1d62b06a Add block AST 2018-09-06 19:41:43 +12:00
James Harton
76ce91b6ee Definitions work in the AST. 2018-09-06 19:07:12 +12:00
James Harton
a3ae75d66f Tidy up grammar around method predicates and exploders. 2018-09-06 18:02:55 +12:00
James Harton
1b70f7b485 Added and tested AST for defining functions. 2018-09-05 22:06:36 +12:00
James Harton
e1a0472ed8 Add huiac binary that just prints out the AST. 2018-09-03 18:53:11 +12:00
James Harton
2072134c80 Infix is working. Yay! 2018-09-03 16:36:12 +12:00
James Harton
de123122ae Infix not working :( 2018-09-03 14:06:27 +12:00
James Harton
f7c605218f Start work on an AST. 2018-09-02 12:15:03 +12:00
James Harton
ec5cdc8afc Working verison 0 parser. 2018-09-01 11:44:59 +12:00
James Harton
b5a3d088d1 multiline blocks can be empty too. 2018-08-31 21:47:02 +12:00
James Harton
4bac3493c0 Revision one grammar almost works. 2018-08-31 19:23:28 +12:00
James Harton
4da9cd37c7 Blocks can be empty. 2018-08-27 12:49:35 +12:00
James Harton
09c541c8dc Fix compiler warning about unused test macros. 2018-08-27 11:23:32 +12:00
James Harton
c0ac53f54b Re-organise into workspace. 2018-08-27 11:09:36 +12:00