Encyclopedia > Yacc

  Article Content

Yacc

Yacc is the standard parser generator on Unix systems. The name is an acronym for "Yet Another Compiler Compiler." It generates a parser (the part of a program that tries to make sense of the input) based on a grammar written in BNF notation. Yacc generates the code for the parser in the C programming language.

Yacc was developed by AT&T for the Unix operating system. Later compatible programs were written, such as Berkeley Yacc, GNU bison, MKS yacc and Abraxas yacc. Each offer slight improvements and additional features over the original Yacc, but the concept has remained the same.

Often Yacc is used in combination with a lexical analyzer, in most cases the lex program. The IEEE POSIX P1003.2 standard defines the functionality and requirements to both Lex and Yacc.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Monty Woolley

... Woolley Monty Woolley (August 17, 1888 - May 6, 1963) was an American actor. Born Edgar Montillion Wooley in New York City, Woolley was a professor and lecturer at Yale ...

 
 
 
This page was created in 41.1 ms