3 ms·
> For now I'm staying with explicit recursion and of course there will be a little pain when I want to change the AST because there are so many dependencies the
by UncleEntity 8y ago
> For now I'm staying with explicit recursion and of course there will be a little pain when I want to change the AST because there are so many dependencies there.
For whatever reason I've been poking at a java 1.0 grammar recently and think I might try out treecc[0] to construct the AST instead of my usual hand rolled ASDL generator --which I apparently never put op on github for all the zero other people to use...
Don't know if there's anything more modern but it doesn't seem to be suffering from any bitrot so why not?
[0]http://www.gnu.org/software/dotgnu/treecc/treecc.html http://www.gnu.org/software/dotgnu/treecc/treecc.html