logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

yyextract — extract grammar rules from a yacc grammar

Authors

       Sandro Sigala <sandro@sigala.it>

Debian                                            July 15, 2001                                     YYEXTRACT(1)

Description

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

       The options are as follows:

       -b      Select the Backus-Naur Form (BNF) for the output.

       -e      Select the Extended Backus-Naur Form (EBNF) for the output.

       -h      Output in HTML format.

       -ofile
               Set the output destination to file.

       -ttitle
               Specify the page title for the generated HTML page.

       -wcols
               Set the width limit of the output (this sets only the width of the %token header).

       -y      Select the yacc format for the output. This is the default format.

       -V      Print version information on standard output then exit.

Name

       yyextract — extract grammar rules from a yacc grammar

Notes

       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 ']').

Synopsis

yyextract [-behyV] [-ofile] [-ttitle] [-wcols] [file...]

See Also