New & Official ANTLR Development Environment is Now on NetBeans

Terence Parr, the ANTLR guy, sent out an e-mail a couple of days ago, starting with these words: "After 25 years, I think I've finally got the parser generator I've been looking for! Sam Harwell, ANTLR co-author, and I are very pleased to announce the release of ANTLR v4."

He continues: "Sam has built a really nice development environment based upon NetBeans, ANTLRWorks v2." And here's what it looks like:

It's cool, very powerful, and absolutely free. More info about the above is here:

"This IDE is a sophisticated editor for ANTLR v3/v4 grammars as well as StringTemplate templates. It can run the ANTLR tool to generate recognizers and can run the TestRig (grun on command line) to test grammars."

Note that a NetBeans plugin for NetBeans IDE 7.3 Beta 2 is also available, as described in the above link.

The usage of the NetBeans Platform as the basis of the new ANTLR development environment should not come as a surprise to anyone who reads this blog entry by Terence Parr in 2011:

Congratulations to the ANTLR Team for this great step forward!


I'm so glad they did this! I always though that ANTLRWorks needs a rewrite on top of the NetBeans Platform.

Posted by Emilian Bold on February 13, 2013 at 12:19 AM PST #

I use NetBeans (and Eclipse and Oracle) at work for web and server oriented java development. Every now and again you come across the need to write a bit of parsing code for loading/converting formatted files into a database or converting them into XML.

The availability of ANTLR in Netbeans is a good reason to learn about its possibilities and see if we can put it to use. Having tinkered with yacc and lex a long time ago, it'll be fun to 'investigate'.

The efforts of the likes of Terence Parr and Sam Harwell are much appreciated!

Posted by Peter van der Vossen on February 23, 2013 at 09:13 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« June 2016