yacc — Yet Another Compiler-Compiler
Synopsis
/usr/ccs/bin/yacc [-dltVv][-b file-prefix] [-Q [y|n]][-P parser][-p sym-prefix] file
Description
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 ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.