Replace traditional FIRST/FOLLOW algorithm for LL(k) calculations with memoized depth...
commit1378e59d19406da75b5283c7f8ed106b6a9a438d
authorJoshua Haberman <joshua@reverberate.org>
Thu, 20 Dec 2007 23:41:43 +0000 (20 15:41 -0800)
committerJoshua Haberman <joshua@reverberate.org>
Thu, 20 Dec 2007 23:41:43 +0000 (20 15:41 -0800)
tree6a45c13c9a310f789ca9139930743ee41ad13f37
parent50ef581b4189c5147f3a46d371d20fa3f3f9d18e
Replace traditional FIRST/FOLLOW algorithm for LL(k) calculations with memoized depth-first-search.
compiler/compile.lua
compiler/ll.lua