lua-users home
lua-l archive

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

I have a simple tool for constructing literate Lua programs.
Construct your program and its documentation using your favorite HTML
editor.  Place your Lua code into PRE elements.  The program htmpre,
available at, extracts the
text in PRE elements.  Add the rule

.SUFFIXES: .lua .html

	htmlpre $< $@

to your makefile, and you're ready to go.