Home AMX User Forum NetLinx Studio

Netlinx syntax lexicon

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.

Comments

  • AMXJeffAMXJeff Posts: 450
    NetLinx.axi I believe has most of them...
  • Sit in the NSX editor and type in a to z. Auto complete will show all possibilities for each char.

    This should be all of netlinx.axi and perhaps some more.
  • NetLinx Reserved Words

    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.
  • mpullinmpullin Posts: 949
    Thank you!
  • jjamesjjames Posts: 2,908
    Hmmmm . . . I think I know where you're going with this. Count me in!
Sign In or Register to comment.