lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



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.