|
|
||
|
I have written simple Lua parser for codemirror. Codemirror is kind of a _javascript_ textarea replacement with syntax highlighting.
http://marijn.haverbeke.nl/codemirror/
Lua parser can be tested under:
http://marijn.haverbeke.nl/codemirror/contrib/lua/index.html
It should highlight basic syntax elements and handle simple indenting rules.
Can someone give it a try and paste some syntax-complexed code to it?
For now i know that high level comments and strings("--[===[") are not well handled. I am working on it.
I am using it in my project. Maybe someone responsible for pages similar to "http://www.lua.org/demo.html" will consider using it too?
any comments welcome.
regards Franciszek Wawrzak.