August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/ccs/bin/yacc [-dltVv][-b file-prefix] [-Q [y|n]][-P parser][-p sym-prefix] file
The yacc command is a fourth-generation development tool that, together with the lex(1) command, enables you to perform lexical analysis and development by describing how an application should act instead of specifying what it should do.
The yacc command converts a context-free grammar into a set of tables for a simple automaton that executes an LALR(1) parsing algorithm. LALR (lookahead LR) parsing is a less powerful variant of LR parsing that produces much smaller parsing tables. The grammar can find LR grammars ambiguous. You can use specified precedence rules to break ambiguities.
You must compile ...
Read now
Unlock full access