contents
 

stydoc STYX Documentation Generator


'stydoc' produces a HTML-like reference documentation for a STYX grammar [.sty].

Comments not starting with ';;' will also be included.

Arguments


NameTypeSemantic
InFile path path of the STYX grammar [.sty]
Template path path of the template file (eg. tstydoc_us.htm)

The target file 'OutFile' should contain the language name so that embedded languages can be referenced, too.

Options

An option will be specified as follows: -<Name>=<Value>
A flag is toggled that way: -<Name>
The default value will be applied when the option wasn't specified.

NameTypeDefault valueSemantic
OutFile path"" path of the target file (default: stdout)
StyxPath path. path of STYX grammar include files
RefAlias string& alias for the first character of a pattern reference
recursiv flagfalse recursive pattern evaluation
prodcom flagfalse print production comments
keepNTs string"" NTs which shouldn't be expanded ( NT ; ... )
noClass string"" split NT Classes ( NT ; ... )
exProds string"" hide NT Productions ( NT . Prod ; ... )
ignRRef string"" ignore recursive references ( NT ; ... )



Environment

An environment variable will be specified as follows: -<Name>=<Value>
The default value will be applied when no environment variable was specified.

NameTypeDefault valueSemantic
BINSTYX pathPATH search environment for the parse table image [.pim]