2 projects tagged "Pre-processors"
rfc2mib is a short Tcl script which may be used to extract MIB (Management Information Base), PIB (Policy Information Base), and ASN.1 modules from an RFC document. Unlike most extractors, this script is smart enough to recognize ASN.1-style comments prior to or within the module header. It also recognizes the use of the "TagDefaults" part of the module header (not used by MIB modules), module headers that are broken across multiple lines, and macro definitions.
TclTP (pronounced "Tickle-Type") is a preprocessor based on the TCL scripting language. It allows embedding TCL command and and variable expansions in normal text. The result of expansion is inserted in the output. Quoting and escaping work in a similar way as in TCL, using braces and backslashes. A second stage of processing involves hooks defined by the document. This allows arbitrary transformations of processed text before it is written to the output. TclTP is primarily intended for generating complex static documents like Web pages. It is not a mark-up language per se. But you can define your own mark-up and use it in your documents, possibly allowing the production of output in different formats from the same source file.