Ah, sorry, here’s the latest version of the LexerInputCharStream file: https://gist.github.com/eirikbakke/fdda0e6b43ed1b2d54eb
(This one avoids the Google Guava dependency.) — Eirik On 6/1/18, 2:03 PM, "Eirik Bakke" <[email protected]<mailto:[email protected]>> wrote: I have used both JavaCC and ANTLR in the past, and I highly recommend using ANTLR for new projects. You can use the following adapter class to hook ANTLR’s org.antlr.v4.runtime.CharStream interface up to NetBeans’ org.netbeans.spi.lexer.LexerInput interface: https://gist.github.com/eirikbakke/51cf4c9375880acd4741 — Eirik On 6/1/18, 1:02 PM, "Peter Nabbefeld" <[email protected]<mailto:[email protected]><mailto:[email protected]>> wrote: 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: [email protected]<mailto:[email protected]><mailto:[email protected]> For additional commands, e-mail: [email protected]<mailto:[email protected]><mailto:[email protected]> For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
