Nashorn JS Grammar
BURRIS Thomas
Thomas.BURRIS at 3ds.com
Tue Jul 14 13:18:05 UTC 2015
I'm writing a DSL extension to Javascript and am trying to create Netbeans IDE support for it. To support syntax highlighting, etc, I need to parse the source scripts. Right now I'm doing it (as a PoC) using an old JavaCC grammar from 2006. This is insufficient since it's outdated, but also because it doesn't support the Nashorn extensions, which are crucial to my purpose. So ... my questions for the list are these:
* Is there a grammar that I can use (i.e., is open source) that supports the Nashorn extensions?
* If so, where can I get it? And what tool leverages it (i.e., Javacc, antlr, etc)?
Any other links / suggestions / prior art are welcome...
thanks!
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,
(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.
For other languages, go to http://www.3ds.com/terms/email-disclaimer
More information about the nashorn-dev
mailing list