For using it as a library, you can take a look at the API
specification. One of the potentially interesting classes unrelated
to the parser is stefs.avm.Tokenizer
.
For using it as a stand-alone application, you can type:
java -jar stefs.jar(or:
java -classpath stefs.jar stefs.Interpreter
)
and use the parser directly.
You can exit the parser by typing exit
or
quit
, or by entering Ctrl-D on a Unix machine (or
similar).
If you want parser to interpret an existing script, standard
input/output redirection can be used; e.g.,
java -jar stefs.jar < input_file > output_file
Using Stefs interpreter: