IT lexicon › Programming › Yacc

Yacc

Programming På svenska → Updated: 2026-11-13

Unix tool that generates parsers from BNF grammar rules, released by AT&T in 1975 and still widely used.

"Yet Another Compiler Compiler." Stephen Johnson created Yacc to automate the tedious work of writing parsers by hand. You gave it a BNF grammar and Yacc generated C code for a bottom-up parser. Paired with Lex, it became the standard way to start building a compiler for decades—many modern tools like Bison remain Yacc-compatible.

← Back to the lexicon