[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua syntax highlighter for codemirror - javascript code editor.
- From: Francio <francio@...>
- Date: Tue, 14 Apr 2009 17:55:47 +0200
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.