Add first unit tests for LL(k) lookahead, which have already caught a bug.
commit9ddae797af58aff7944b796c20d823dc5177b1a7
authorJoshua Haberman <joshua@reverberate.org>
Fri, 28 Mar 2008 08:07:21 +0000 (28 01:07 -0700)
committerJoshua Haberman <joshua@reverberate.org>
Fri, 28 Mar 2008 08:07:21 +0000 (28 01:07 -0700)
tree419437411bc68bfefe2f99d540249f3646b2ba4e
parent55f324781040fd082b41f5dfb2ccf99adb57f5dd
Add first unit tests for LL(k) lookahead, which have already caught a bug.

The bug still exists and needs to be fixed, but can be demonstrated with
"make test".

Also consolidated a few files into fa_algorithms.lua.
compiler/fa.lua
compiler/fa_algorithms.lua [new file with mode: 0644]
compiler/grammar.lua
compiler/minimize.lua [deleted file]
compiler/nfa_to_dfa.lua [deleted file]
tests/test_data_structures.lua
tests/test_ll.lua [new file with mode: 0644]