Name

sdf2table — generates a parse table from an SDF syntax definition.

Synopsis

sdf2table [-b] [-h] [-i file.def] [-l] [-m name] [-n] [-o file.tbl] [-s] [-t] [-v] [-V]

Description

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.

Options

Input/Output Options

-b

Write output in binary ASFix (BAF) format.

-i file.def

Read input from file.def. Multiple files may be specified.

-o file.tbl

Write output to file.tbl. If not speficied, .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.

Reporting Bugs

Please report bugs to

Copyright

Copyright (C) 2002-2005 Eelco Visser

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.