DOKK / manpages / debian 12 / cutils / yyextract.1.en
YYEXTRACT(1) General Commands Manual YYEXTRACT(1)

yyextractextract grammar rules from a yacc grammar

yyextract [-behyV] [-o file] [-t title] [-w cols] [file ...]

The yyextract utility extracts the grammar rules from a yacc grammar.

The options are as follows:

Select the Backus-Naur Form (BNF) for the output.
Select the Extended Backus-Naur Form (EBNF) for the output.
Output in HTML format.
file
Set the output destination to file.
title
Specify the page title for the generated HTML page.
cols
Set the width limit of the output (this sets only the width of the %token header).
Select the yacc format for the output. This is the default format.
Print version information on standard output then exit.

The Extended Backus-Naur Form (EBNF) is like the Backus-Naur Form (BNF) but with the empty rules translated with the zero-or-one operator (within the brackets '[' and ']').

Sandro Sigala <sandro@sigala.it>

July 15, 2001 Debian