README

Fri, 13 Nov 2009 16:39:27 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 13 Nov 2009 16:39:27 +0000
changeset 3
1e093cebd5e9
parent 1
b3889bfb6052
child 4
370c51ee7b06
permissions
-rw-r--r--

Add squishy file

lua2html... another one. Feel free to suggest a more original name :)

This script is the one I use for HTML-ifying my Lua scripts. Its goal isn't full syntax colouring of 
Lua, but this version has some more useful features.

Global variables are highlighted in red, and even stronger when they are being set. Upvalues are highlighted in green.

It can also read in coverage reports from my homegrown unit tester. They are in the format:

test_sasl.lua|30||true
test_sasl.lua|31||miss

The first column is the filename, then the line number, and the last column is 'true' (line passed all tests), 'false' 
(line failed one more tests) or 'miss' to indicate the line wasn't tested. Don't ask what the empty column is, I forgot :)

mercurial