[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua syntax highlighter for codemirror - javascript code editor.
- From: Peter Cawley <lua@...>
- Date: Tue, 14 Apr 2009 17:04:51 +0100
A multiline comment ends at the ]], like a long string does. The
parser seems to assume that a multiline comment ends with ]]--
On Tue, Apr 14, 2009 at 4:55 PM, Francio <francio@francio.pl> wrote:
>
> 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.
>