I used both too, but I switched to ANTLR, it seems more maintained and up to 
date. I can recommend this. IntelliJ has an other stuff, which is new, but I 
couldn’t remember the Name, and I think NetBeans doesn’t support it.


Cheers

Chris

Von: Oliver Rettig
Gesendet: Samstag, 2. Juni 2018 11:28
An: dev@netbeans.incubator.apache.org
Betreff: Re: How to implement a new language support?

Hi,

sometimes I play around to build a simple language to allow me to work with 
mathematical 
operations - a simple but high speed version of matlab for timeseries analysis. 
So I found 
Truffle and Graal a very interesting technology to implement new languages in 
general. 

There is a blog entry 

https://blog.plan99.net/graal-truffle-134d8f28fb69

which may be is an easier starting point than the original documentation of 
Jaruslaw Tulach.

best regards
Oliver

> Hello,
> 
> latest tutorial I found is at
> https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html - but
> JavaCC seems to be no longer actively supported. I'm also not sure, if
> this is using latest language infrastructure: Though it states "Requires
> NetBeans 8.1", it uses e.d. "org.netbeans.spi.lexer.LanguageHierarchy".
> IIRC this is older than GSF/CSL API, which is used e.g. for the
> (netbeans-internal) YAML module.
> 
> Which API should I use?
> 
> Kind regards
> Peter
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to