Re:Want to Write a Compiler? Just Read These Two Papers.
by inoop on Friday August 26, 2011 @06:37AM
(#2928036)
ANTLR is great, but I also highly recommend 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.
[ Parent
| on HN ]
Re:Want to Write a Compiler? Just Read These Two Papers.
by tonyedgecombe on Friday August 26, 2011 @01:15PM
(#2929113)
Although 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.