Commit Graph

11 Commits

Author SHA1 Message Date
Nathan Braswell
caba8b310f Small speed improvement int trim by using stack (and DFS) instead of queue (and BFS) for remove and collapse, finally fix the unknown escape '\*' error 2017-01-25 01:47:05 -05:00
Nathan Braswell
e2639989c9 ref_lower now generates C, though a ton of syntax errors 2017-01-20 01:11:06 -05:00
Nathan Braswell
4cc0d26c4c Now && and || short circuiting is done in obj_lower 2016-06-25 23:56:07 -07:00
Nathan Braswell
d44293a48b Defer is now lowered in its own pass as a first step towards refactoring other things into their own passes as well 2016-06-15 01:36:59 -07:00
Nathan Braswell
2fb8dab08d Fix destructor stuff to fix destructor test and other bugs revealed 2016-02-29 19:18:22 -05:00
Nathan Braswell
9973bc3bd3 First run at defer working - won't properly do every scope out of a loop yet, likely other problems 2016-01-25 13:48:27 -05:00
Nathan Braswell
a84e2ee6e1 faster deserilitation, super basic enums 2015-08-29 21:45:55 -04:00
Nathan Braswell
d72cbdcedb Serilization and caching the table works! 2015-08-26 03:45:34 -04:00
Nathan Braswell
216cf0252f finished reducer and wrote shifter. Actually kinda recognizes now! Errors too, but comes up with correct result. 2015-08-08 02:50:36 -04:00
Nathan Braswell
1f119af8ad more work 2015-08-06 02:42:40 -04:00
Nathan Braswell
dec9b7d0bd some tests failing because things have been made reference in vector, but grammer actually generates the state set for the real grammer in 2 minutes or so after a day of profiling and bugfixing, so this is gonna be committed. 2015-08-05 03:43:34 -04:00