3 ms·
ANTLR is great, but I also highly recommend xtext: http://www.eclipse.org/Xtext/ http://www.eclipse.org/Xtext/. It generates a full lexer/parser, AST representa
by inoop 15y ago
ANTLR is great, but I also highly recommend xtext: http://www.eclipse.org/Xtext/ http://www.eclipse.org/Xtext/. It generates a full lexer/parser, AST representation, does automatic cross-referencing, and even generates an Eclipse plugin for your language with syntax highlighting and code completion.
- tonyedgecombe 15y agoAlthough some of the examples in that book use ANTLR, they all cover the theory behind the use, it is much more than an ANTLR manual.