lua-users home
lua-l archive

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


On Fri, Aug 14, 2009 at 1:07 PM, steve donovan<steve.j.donovan@gmail.com> wrote:
> It would be cool if the code was syntax-colorized. Any suggestions?

I've got some Lua code which uses LPEG to tokenise C and then syntax
colours it for HTML output: http://codepad.org/1RREka9a
It wouldn't be too hard to plug in an LPEG Lua tokeniser and
appropriate highlighting rules to do it for Lua code too.