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 Marion, New York

... to the United States Census Bureau, the town has a total area of 5.8 km² (2.2 mi²). 5.4 km² (2.1 mi²) of it is land and 0.3 ...

 
 
 
This page was created in 49.7 ms