stypp Pretty Printer
'stypp' serves as a pretty printer for source files written in a styx-conform language.
Beside that it can be used to port source files, provided that the abstract syntax of the
source and target language are equivalent. The conversion includes all comments, but there
is currently no supplement for a conversion of the token classes themselves, that means the
tokens are taken as is.
The work on this program, especially on the pretty printer layout, ist still in progress.
Arguments
Name | Type | Semantic
|
srclang | name | source language name
|
dstlang | name | target language name
|
filename | path | path of source file to transform
|
Options
An option will be specified as follows: -<Name>=<Value>
The default value will be applied when the option wasn't specified.
Name | Type | Default value | Semantic
|
start | string | "" | start symbol
|
xaron | flag | true | create lisp-like derivation trees
|
Environment
An environment variable will be specified as followed: -<Name>=<Value>
The default value will be applied when no environment variable was specified.
Name | Type | Default value | Semantic
|
PATH | path | | search path for [srclang.pim], [srclang.lim], [dstlang.pim] and [dstlang.lim]
|