BNF

Section: User Commands (1)
Updated:
Index Return to Main Contents
 

NAME

bnf - convert a grammar from EBNF to BNF  

SYNOPSIS

bnf [-c|-m] [-l][-g] <file>  

DESCRIPTION

Bnf translates a context-free grammar in EBNF into an equivalent grammar in BNF, which is written to standard output. The result can be used as input for the parser generator lalr.  

OPTIONS

c
the target language is C
m
the target language is Modula-2 (default)
l
produce a long error listing
g
generate # line directives
 

SEE ALSO

J. Grosch, B. Vielsack: "The Parser Generators Lalr and Ell", GMD Forschungsstelle an der Universitaet Karlsruhe, Compiler Generation Report No. 8, 1991


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:38:13 GMT, March 30, 2022