Commit Graph

10 Commits

Author SHA1 Message Date
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
d1f2ba5fc8 Fixed the bug! Probabally other bugs too. 2013-08-26 15:37:49 -04:00
Nathan Braswell
35a0677d07 Still in progress 2013-08-22 15:41:30 -04:00
Nathan Braswell
2eaf640855 In progress 2013-08-16 00:03:26 -04:00
Nathan Braswell
6a2977d12a Redid lookahead in a much much saner way. Now should be a legitimate parser somewhere between LALR(1) and LR(1). 2013-06-26 14:27:28 -04:00
Nathan Braswell
a307e1f143 Changed followset to work on states, fixed many bugs. Kraken now should have a fairly legitimate LALR(1) parser. (null productions have not yet been added.) 2013-06-23 05:06:38 -04:00
Nathan Braswell
17dd186373 Fixed infinite loop bug- Was attempting to see if a non-closured state and a closured state were equal, almost never were. 2013-06-21 14:46:15 -04:00
Nathan Braswell
20b059ca45 Transfer computer 2013-06-21 14:16:16 -04:00
Nathan Braswell
949dbc532a Fixed lots of bugs, added much more sane and efficient ParseAction table instead of recalculating every time. Fixed lots of bugs and inefficencies. Some temporary hacks in the table, mostly having to do with not having an EOF Symbol yet. 2013-06-04 19:50:16 -04:00
Nathan Braswell
315dc55409 Modifed set creation to use a State object. Set creation works 2013-05-26 22:12:47 -04:00