Jump to content

Yacc

From EDM2

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
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

See also

  • lex - lexical analyser

Links