Hi Eirik,
thank You very much, Eirik, especially for making the source code freely
available!
Kind regards
Peter
Am 01.06.2018 um 20:16 schrieb Eirik Bakke:
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" <eba...@ultorg.com<mailto:eba...@ultorg.com>>
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"
<peter.nabbef...@gmx.de<mailto:peter.nabbef...@gmx.de><mailto:peter.nabbef...@gmx.de>>
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:
dev-unsubscr...@netbeans.incubator.apache.org<mailto:dev-unsubscr...@netbeans.incubator.apache.org><mailto:dev-unsubscr...@netbeans.incubator.apache.org>
For additional commands, e-mail:
dev-h...@netbeans.incubator.apache.org<mailto:dev-h...@netbeans.incubator.apache.org><mailto:dev-h...@netbeans.incubator.apache.org>
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
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