[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Low tech literate programming for Lua
- From: ramsdell@... (John D. Ramsdell)
- Date: 07 Sep 2001 08:21:36 -0400
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 http://www.ccs.neu.edu/home/ramsdell/tools/, extracts the
text in PRE elements. Add the rule
.SUFFIXES: .lua .html
.html.lua:
htmlpre $< $@
to your makefile, and you're ready to go.
John