sdf2table — generates a parse table from an SDF syntax definition.
sdf2table
[-b]
[-h]
[-i file
.def]
[-l]
[-m name
]
[-n]
[-o file
.tbl]
[-s]
[-t]
[-v]
[-V]
The sdf2table utility is used to compute a parse table
from a syntax definition. The syntax definition must have been created
from a set of .sdf
files using the
pack-sdf utility,
or written manually. The resulting .tbl
file is
used as input to the sglr
parser.
Input/Output Options
-b
Write output in binary ASFix (BAF) format.
-i file
.def
Read input from
. Multiple
files may be specified.
file
.def
-o file
.tbl
Write output to
. If not
speficied, file
.tbl.tbl
will be added as a suffix to the input file
name.
-s
Check SDF definition and show warnings on stderr
.
-n
Normalize grammar.
Help and Debugging Options
-h
Show usage information.
-l
Show statistics information.
-v
Enable verbose mode.
-V
Show version number.
Copyright (C) 2002-2005 Eelco Visser <visser@acm.org>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.