Commit Graph

13 Commits

Author SHA1 Message Date
Nathan Braswell
5022fc0802 Significant work on templates. They should be close to working now (for single replacement). However, they do not show up in the global scope the the C generator can't see them. Plus, their names will have to be Cified. 2014-05-09 02:56:55 -04:00
Nathan Braswell
5de2ff58bb Some template implementation/tests 2014-05-08 01:07:57 -04:00
Nathan Braswell
57976beb40 Just got paranoid about saving all this work. Almost finished operator overloading, but everything is slightly broken right now. 2014-03-06 13:13:40 -05:00
Nathan Braswell
0297f29dcd Save state before re-write of RegEx. 2014-01-07 13:14:58 -05:00
Nathan Braswell
98b899b8a9 Added rough but working scoping. 2013-12-27 13:05:07 -06:00
Nathan Braswell
15674fec2a Added Type class, bettered types a bit, made address of and dereference operators work. 2013-12-23 01:26:24 -06:00
Nathan Braswell
935cc6f968 Added generator-dependent compilation and simple passthrough that allows us to have non-cheated emitted, printing c-code for the first time! (no typechecking or anything yet, but we'll get there). It's also still rough. 2013-12-22 01:34:59 -06:00
Nathan Braswell
f273deaedc FINALLY fixed an error that took weeks. Turned out that the ParseRule was shallow copied, and the lookahead was not copied correctly. So it got extended and thus skipped over the state when it should have been redone. 2013-12-18 18:05:21 -06:00
Nathan Braswell
77f2b0a3e5 Lot's of work on a CGenerator, AST and language improvements 2013-11-01 02:52:18 -04:00
Nathan Braswell
e818236e90 Some more AST work. Functions no longer retain an identifer for their name. 2013-10-26 11:47:34 -04:00
Nathan Braswell
02fd878c92 Further work on AST transformation 2013-10-16 01:43:18 -04:00
Nathan Braswell
b9ffe33d0b Made Symbol always stack, not heap, allocated. Finally fixed bugs with ASTTransformation. 2013-10-02 03:15:20 -04:00
Nathan Braswell
0110672f50 Added in structure for tree transformations. 2013-09-26 15:16:58 -04:00