[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simple syntax coloring code
- From: Wesley Smith <wesley.hoke@...>
- Date: Wed, 5 Jan 2011 09:54:14 -0800
Not sure where exactly this came from (credits in the source say
Written by Peter Odding, 2007/04/04), but it works. It adds HTML tags
to Lua source code using a simple LPEG-based lexer:
the highlighting script:
http://www.mat.ucsb.edu/projects/luaAV/browser/trunk/buildtool/utilities/html.highlighter.lua
the lexer:
http://www.mat.ucsb.edu/projects/luaAV/browser/trunk/extra/modules/doc/lexer.lua
wes