README

Fri, 13 Nov 2009 18:38:39 +0000

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

Update README to mention Squish

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 :)

If you have Squish installed ( http://matthewwild.co.uk/projects/squish ) then you can just type 'squish' in the current 
directory to produce a compressed lua2html file.

mercurial