The Definitive ANTLR Reference: Building Domain-Specific Languages (Pragmatic Programmers)

Author: Terence Parr
All Stack Overflow 12
This Year Stack Overflow 1
This Month Stack Overflow 2


by anonymous   2019-07-21

Maybe look into 'coding' your original algorithm in xml and using various xslt templates to output to your target languages ? Or possibly antlr (

by anonymous   2019-07-21

To the best of my knowledge, you cannot do this. The book doesn't mention anything. Maybe you can ask at the mail list:

by anonymous   2018-03-19

ANTLR is a very nice parser generator written in Java. There's a terrific book available, too.

by anonymous   2017-08-20

I believe TextMate uses Antlr for parsing. Look for it inside the package. Antlr has an Objective-C target, but this doesn't mean that Allen Odgaard chose that particular language, but it is highly likely, given that TextMate is a Cocoa application.

Terrence Parr, the creator of Antlr, has written two books on/using Antlr:

The Definitive Antlr Reference

Language Implementation Patterns

Both are worth reading if you are interested in parsing, etc.... Of course, one should eventually move on to the dragon book,, but these books, along with Antlr, will allow you to get moving quickly.

by anonymous   2017-08-20

Maybe ANTLR will do it for you. It's a nice parser generator with a fine book available for documentation.