Fri, 13 Nov 2009 16:35:30 +0000
Make script executable
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 :)