Netlinx syntax lexicon
mpullin
Posts: 949
Anybody interested in helping develop a syntax highlighting lexicon for Netlinx source? This would be useful for including Netlinx code in repositories and/or displaying them in TRAC. TRAC uses Pygments by default, and it's supposed to be "fast and easy" to design your own lexicons and install them in Pygments, but so far I have found it neither fast nor easy...
Here are some links I have discovered that may help:
http://pygments.org/docs/lexerdevelopment/
http://trac-hacks.org/wiki/TracPygmentsPlugin
http://peak.telecommunity.com/DevCenter/setuptools#ez-setup
http://pygments.org/docs/plugins/#extending-the-core
Also, does anyone know where I can find a list of all "reserved words" in NetLinx?
Thanks in advance.
Here are some links I have discovered that may help:
http://pygments.org/docs/lexerdevelopment/
http://trac-hacks.org/wiki/TracPygmentsPlugin
http://peak.telecommunity.com/DevCenter/setuptools#ez-setup
http://pygments.org/docs/plugins/#extending-the-core
Also, does anyone know where I can find a list of all "reserved words" in NetLinx?
Thanks in advance.
0
Comments
This should be all of netlinx.axi and perhaps some more.
The list of reserved words used for syntax highlighting are located in NetLinx.rw file located in the "C:\Program Files\AMX Control Disc\NetLinx Studio 2" directory (or wherever you installed NS2).
Enjoy.