Sources of ABNF Editor on NetBeans

Tom's thread on nbdiscuss is getting some good responses. By and large, I believe (and am backed up in some ways) at this point, most topics relating to creating NetBeans Platform applications have been covered in one or more ways (thought could always be better of course), though on the side of extending NetBeans IDE editors, especially the parsing/lexing, etc, the documentation could be a lot better.

That's partly because the parsing/lexing support has changed/been consolidated over the past years. Jean-Marc Borer from Skyguide in Switzerland has a great example of how to create an ANTLR-based editor, in this case, ABNF, in a NetBeans Platform application, as you can see below:

The source code is like this, as you can see, nicely structured:

And here's the source code itself:

I'm hoping to work with Jean-Marc in the near future to turn all of the above into a tutorial, while I also hope to work on this tutorial some more as well.


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.


« July 2015