Search: in
Yacc
Yacc Encyclopedia
  Tutorials     Encyclopedia     Dictionary     Directory  
Yacc Email this to a friend      Yacc

Yacc

The computer program yacc is a parser generator developed by Stephen C. Johnson at AT&T for the Unix operating system. The name is an acronym for "Yet Another Compiler Compiler." It generates a parser (the part of a compiler that tries to make syntactic sense of the source code) based on an analytic grammar written in a notation similar to BNF. Yacc generates the code for the parser in the C programming language.

Yacc used to be available as the default parser generator on most Unix systems. It has since been supplanted as the default by more recent, largely compatible, programs such as Berkeley Yacc, GNU bison, MKS yacc and Abraxas pcyacc. An updated version of the original AT&T version is included as part of Sun's OpenSolaris project. Each offers slight improvements and additional features over the original Yacc, but the concept has remained the same. Yacc has also been rewritten for other languages, including Ratfor, EFL, ML, Ada, Java, and Limbo.

The parser generated by Yacc requires a lexical analyzer. Lexical analyzer generators, such as Lex or Flex are widely available. The IEEE POSIX P1003.2 standard defines the functionality and requirements for both Lex and Yacc.

Some versions of AT&T Yacc have become open source. For example, source code (for different implementations) is available with the standard distributions of Plan 9 and OpenSolaris.

See also

References

External links

cs:Yacc da:Yacc de:Yacc es:Yacc fr:Lex et yacc ko:Yacc it:Yacc nl:Yacc ja:Yacc pl:Yacc pt:Yacc ru:Yacc sr:Yacc sv:Yacc zh:Yacc





Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Related Links in Yacc

Search for Yacc in Tutorials
Search for Yacc in Encyclopedia
Search for Yacc in Dictionary
Search for Yacc in Open Directory
Search for Yacc in Store
Search for Yacc in PriceGig


Help build the largest human-edited directory on the web.
Submit a Site - Open Directory Project - Become an Editor

Advertisement

Advertisement



Yacc
Yacc top Yacc

Home - Add TutorGig to Your Site - Disclaimer

©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement