Short Post, an working example for a meta language with Antlr 3.0+

There aren't too many FULL examples of a Antlr based grammar for the 3.0+ versions. If you actually research the grammar file, it isn't too difficult to go from vers 2 to 3, but when you are starting out it may throw some people off.

In any case, I was working on a grammar for my botlist remote definition file and threw together a grammar. The full source is available and it will parse an example grammar and print out critical tokens and values.

http://groups.google.com/group/jvmcookbook/browse_thread/thread/14b60345c6da2cbb

Comments

Popular posts from this blog

Is Java the new COBOL? Yes. What does that mean, exactly? (Part 1)

On Unit Testing, Java TDD for developers to write

JVM Notebook: Basic Clojure, Java and JVM Language performance