lua-users home
lua-l archive

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


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