3 ms·
The Definitive ANTLR Reference: Building Domain-Specific Languages http://pragprog.com/book/tpantlr/the-definitive-antlr-reference http://pragprog.com/book/tpa
by pella 15y ago
The Definitive ANTLR Reference: Building Domain-Specific Languages
http://pragprog.com/book/tpantlr/the-definitive-antlr-reference http://pragprog.com/book/tpantlr/the-definitive-antlr-refere...
-- + --
Language Implementation Patterns: Create Your Own Domain-Specific and General Programming Languages
"Learn to build configuration file readers, data readers, model-driven code generators, source-to-source translators, source analyzers, and interpreters. You don’t need a background in computer science—ANTLR creator Terence Parr demystifies language implementation by breaking it down into the most common design patterns. Pattern by pattern, you’ll learn the key skills you need to implement your own computer languages."
http://pragprog.com/book/tpdsl/language-implementation-patterns http://pragprog.com/book/tpdsl/language-implementation-patte...
- inoop 15y agoANTLR 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.