[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Some minor FAQ tweaks (a bit delayed).
- From: Peter Cawley <lua@...>
- Date: Fri, 14 Aug 2009 14:11:31 +0100
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.