Yacc
Appearance
Yacc (Yet Another Compiler-Compiler) is a Look-Ahead LR parser generator that takes Backus–Naur Form text files and generates LALR parsers from it. Primarily used as tool for generating front end parsers for compilers or formal validation for file formats in export filters and so on, so forth.
History
Originally developed by Stephen C. Johnson at AT&T in B and later rewritten in C.
Implementations
- C
- Abraxas Software PCYACC/2
- Berkeley Yacc 1.8 - LALR parser generator
- GNU bison 2.7.91
- Other programming languages
- ML-Yacc - for the Standard ML
- CL-Yacc - for Common Lisp
- PLY - for Python
- Programmer's utilities
- Exuberant ctags - Creates index files out of YACC source files - Open source - Current
See also
- lex - lexical analyser
Links
- Stephen C. Johnson: Yacc: Yet Another Compiler-Compiler
- The A-Z of Programming Languages: YACC An interview with Stephen C. Johnson - from Techworld
- Java: http://byaccj.sourceforge.net/