Saturday, November 24, 2007
WaspDoc Dump Module / Source Feature
"Dump Module" is a neat new toy in the WaspDoc tree that grew out of WaspDoc's source parser. Given a source file, "waspdoc check source " will open the file, analyze its imports and exports, then print them to standard output. As you can see in the example below, it isn't perfect; things like doing (define func (lambda args ...)) will look like a variable export to WaspDoc, but it can be really handy when you need to know what the arguments for a given function are.
Hopefully, by next weekend, WaspDoc will be able to do this for primitives as well; this data is used by WaspDoc to generate skeleton documentation files.