I've used ANTLR but also hand-made stuff. And there are better smarter parsers nowadays. I think I was amazed about `parboiled` at some point but never used it for something real.
--emi On Tue, Oct 30, 2018 at 9:37 PM Mario Schroeder <ma.schroe...@gmail.com> wrote: > Hi, > > I would appreciate when someone could set me on the right track. I'm > wondering what is the best way to write a plugin with a support for a new > language. > > I have found this old tutorial: > http://wiki.netbeans.org/How_to_create_support_for_a_new_language > It uses JavaCC. The tutorial is linked to another one, which makes use of > ANTLR. When I have a look at NetBeans source code, there are some templates > written with JFlex. So I'm confused. Which one should I use? > > I would prefer ANTLR, since there seems to be more documentation for it. > Does anyone have a recommendation? > > Regards, > Mario >