ssl - syntax/semantic language preprocessor, for parser description/generation
ssl [ -TLs ] [ -E Name ] [ -D type ] [ -h file.sst.h ] [ -t file.sst.c ] [ -l file.lst ] [ -e file.entry ] [ -i file.ssl ]
Ssl reads the input S/SL file, and produces C code. It accepts the following options:
-T -L -s -D Type -E EnumName |
Trace S/SL processor execution Produce a listing of the S/SL source program with table coordinates in the left margin. Summarize usage of symbol and output tables. Sets type of the S/SL table to Type. The default is int. Sets name of the enumerated type list to EnumName, which will have nilEnumName as the first item in the enumeration (with a value of -1). The default is no name. |
|
-i file.ssl -h file.sst.h |
Input S/SL program file. The default is stdin. Output C header file with the constant definitions for the program. The default is |
|
-t file.sst.c |
Output C S/SL program table file. The default is |
|
-l file.lst |
Output listing of the S/SL program with table coordinates in the left margin, if requested |
|
-e file.entry |
Entry points file. The default is |
|
An Introduction to S/SL: Syntax/Semantic Language by R.C. Holt, J.R. Cordy, and D.B. Wortman, in ACM Trans- actions on Programming Languages and Systems (TOPLAS), Vol 4, No. 2, April 1982, Pages 149-178. (The authors may be contacted through the Computer Systems Research Institute at the University of Toronto.)
Translated from Turing S/SL Processor V3.01 by Rayan Zachariassen, Department of Computer Science, Univer- sity of Toronto, February 1988.
Original code by James R. Cordy, CSRI, University of Toronto, 14 January 1980 (Revised 2 March 1983)