4 ms·
Antlr is shit; it will waste your time for anything real. Bison+flex (once you figure out the quirks, undocumented assumptions and flags) and treetop are usabl
by bro-stick 11y ago
Antlr is shit; it will waste your time for anything real. Bison+flex (once you figure out the quirks, undocumented assumptions and flags) and treetop are usable.
https://www.gnu.org/software/bison/manual/ https://www.gnu.org/software/bison/manual/
http://flex.sourceforge.net/manual/ http://flex.sourceforge.net/manual/
http://treetop.rubyforge.org http://treetop.rubyforge.org
Disclaimer: A long time ago in a galaxy, far, far away, I wrote an optimizing Java-to-MIPS compiler (sans GC, so leaky heap) in C++ using Flex/Bison and again in Java using JavaCC.