Commit Graph

17 Commits

Author SHA1 Message Date
7ab5eba529 Make distinction between prefix and postfix unary operators in trees. 2018-03-17 18:25:23 -07:00
c131fbc758 Implement reserved operator parsing. 2018-03-16 23:09:41 -07:00
bb61dbcd54 Add support for the return keyword. 2018-03-08 21:31:24 -08:00
f3f1cc8c43 Rename all the tree enums to have a prefix.
This prevents some possible naming collisions.
2018-03-08 21:13:25 -08:00
2d26e45e90 Add function node parsing. 2018-03-08 21:10:05 -08:00
ac8e2ff418 Implement the do-while loop. 2018-02-27 12:30:37 -08:00
976b6d1b1a Add code to parse while loops. 2018-02-27 11:57:45 -08:00
88108bb3c0 Make the has string and has vector functions public. 2018-02-25 22:57:45 -08:00
7a84babf1e Add basic function call parsing. 2018-02-24 20:08:17 -08:00
8ffcbb0ee2 Make blocks expressions, and add implicit void expression at block ends. 2018-02-18 21:05:06 -08:00
96b2dc234f Remove currently unused node types from the tree code. 2018-02-18 19:42:54 -08:00
811704be25 Add a recursive tree freeing function. 2018-02-17 19:20:10 -08:00
841c2f15e5 Add function to free tree nodes. 2018-02-17 12:55:50 -08:00
74034c7b76 Rename header files. 2018-02-11 22:32:42 -08:00
f67b98d7a6 Add a parser struct. 2018-02-11 22:26:19 -08:00
e5351c17a2 Fix code to stick to proper naming convention. 2018-02-11 21:22:01 -08:00
03f27bda18 Write a basic tree header file to hold the structure of the parsed code. 2018-02-10 22:15:51 -08:00