Encyclopedia > Yacc programming language

  Article Content

Yacc

Redirected from Yacc programming language

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
East Farmingdale, New York

... have someone living alone who is 65 years of age or older. The average household size is 3.10 and the average family size is 3.52. In the town the population is spread ...

 
 
 
This page was created in 39.8 ms