[Date Prev][Date Next][Thread Prev][Thread Next]
- 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
htmlpre $< $@
to your makefile, and you're ready to go.