SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Trustix byacc-1.9-18tr.i586.rpm

YACC

Section: User Commands (1)
Updated: July 15, 1990
Index 

NAME

Yacc - an LALR(1) parser generator 

SYNOPSIS

yacc [ -dlrtv ] [ -bfile_prefix] [ -psymbol_prefix]filename 

DESCRIPTION

Yaccreads the grammar specification in the filefilenameand generates an LR(1) parser for it.The parsers consist of a set of LALR(1) parsing tables and a driver routinewritten in the C programming language.Yaccnormally writes the parse tables and the driver routine to the filey.tab.c.

The following options are available:

-b file_prefix
The-boption changes the prefix prepended to the output file names tothe string denoted byfile_prefix.The default prefix is the charactery.
-d
The -d option causes the header filey.tab.hto be written.
-l
If the-loption is not specified,yaccwill insert #line directives in the generated code.The #line directives let the C compiler relate errors in thegenerated code to the user's original code.If the -l option is specified,yaccwill not insert the #line directives.#line directives specified by the user will be retained.
-p symbol_prefix
The-poption changes the prefix prepended to yacc-generated symbols tothe string denoted bysymbol_prefix.The default prefix is the stringyy.
-r
The-roption causesyaccto produce separate files for code and tables. The code fileis namedy.code.c,and the tables file is namedy.tab.c.
-t
The-toption changes the preprocessor directives generated byyaccso that debugging statements will be incorporated in the compiled code.
-v
The-voption causes a human-readable description of the generated parser tobe written to the filey.output.

If the environment variable TMPDIR is set, the string denoted byTMPDIR will be used as the name of the directory where the temporaryfiles are created. 

FILES

y.code.c
y.tab.c
y.tab.h
y.output
/tmp/yacc.aXXXXXX
/tmp/yacc.tXXXXXX
/tmp/yacc.uXXXXXX 

DIAGNOSTICS

If there are rules that are never reduced, the number of such rules isreported on standard error.If there are any LALR(1) conflicts, the number of conflicts is reportedon standard error.


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
DIAGNOSTICS

This document was created byman2html,using the manual pages.