home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: xargs Chapter 2
UNIX Commands
Next: Reference: zcat
 

yacc



yacc

 [

options

] 

file

Given a file containing context-free grammar, convert file into tables for subsequent parsing and send output to y.tab.c . This command name stands for y et a nother c ompiler- c ompiler. See also lex and the Nutshell Handbook lex & yacc .

Options

-d

Generate y.tab.h , producing #define statements that relate yacc 's token codes to the token names declared by the user.

-l

Exclude #line constructs from code produced in y.tab.c . (Use after debugging is complete.)

-Q c

Place version information about yacc in y.tab.c (if c = y ) or suppress information (if c = n , the default).

-t

Compile runtime debugging code by default.

-v

Generate y.output , a file containing diagnostics and notes about the parsing tables.

-V

Print the version of yacc on standard error.


Previous: Reference: xargs UNIX in a Nutshell: System V Edition Next: Reference: zcat
Reference: xargs Book Index Reference: zcat

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System