GO-V.ORG
As seen in

Berkeley Yacc

Berkeley Yacc (byacc) is a Unix parser generator designed to be compatible with Yacc.[src] It was originally written by Robert Corbett and released in 1989.[src] Due to its liberal license and because it was faster than the AT&T Yacc, it quickly became the most popular version of Yacc.[src] It has the advantages of being written in ANSI C89 and being public domain software.[src] It contains features not available in Yacc, such as reentrancy, which is implemented in a way that is broadly compatible with GNU Bison.[src]

Berkeley Yacc (byacc) is a Unix parser generator designed to be compatible with Yacc.[src] It was originally written by Robert Corbett and released in 1989.[src] Due to its liberal license and because it was faster than the AT&T Yacc, it quickly became the most popular version of Yacc.[src] It has the advantages of being written in ANSI C89 and being public domain software.[src] It contains features not available in Yacc, such as reentrancy, which is implemented in a way that is broadly compatible with GNU Bison.[src] ==History== In 1985, Robert Corbett developed an original LALR parser generator based on a 1982 paper by DeRemer and Pennello.[src] Corbett wrote it as part of his research towards the Ph.D.[src] he received from University of California, Berkeley in June 1985.[src] It was originally named Byson and was incompatible with Yacc but it was subsequently renamed Bison and became the basis of GNU Bison.[src] Later in 1985, Corbett developed his LALR parser generator, making it Yacc-compatible and naming it Zeus but subsequently renaming it Zoo.[src] Corbett published the source code for Zoo in a Usenet newsgroup but it went mostly unnoticed until later in September 1989 when Corbett posted on the comp.compilers newsgroup about putting the source code on an FTP server.[src] There was discussion about renaming it and by October 1989 it had become known as Berkeley Yacc (byacc).[src] In 1995, Chris Dodd developed BtYacc, a backtracking derivative of Berkeley Yacc to support parsing context-sensitive languages like C++, based on a 1993 paper by Merrill describing similar modifications to AT&T Yacc.[src] Its backtracking and semantic disambiguation capabilities allow it to generate parsers for ambiguous grammars.[src] A rule parsed but rejected by semantic information can be rolled back, so that the parser can try another rule.[src] However, it has also been criticized for needing side-effect free trial actions and its inflexible handling of shift-reduce conflicts.[src] In 1997, Vadim Maslov took over maintenance of BtYacc to support a COBOL parser developed by his company.[src] By 1999, the last 3.0 release, had been converted to C++, making it no longer implemented in C.[src] In 2000, Thomas E.[src] Dickey ported Berkeley Yacc to OpenVMS to facilitate porting tin to VMS.[src] After failing to find another maintainer, Dickey has maintained Berkeley Yacc since February 2002.[src] A significant update was the conversion from K&R C to ANSI C89.[src] In 2014, Tom Shields integrated BtYacc backtracking into Berkeley Yacc effectively subsuming BtYacc and again supporting C (instead of only C++) in Dickey releases since April 2014.[src] ==Languages== Parser generators typically deal with three languages: the language a generator is implemented in, the language a generated parser is implemented in and of course the metalanguage that describes whatever a generated parser should parse.[src] A fourth language could be considered whatever language a generated parser parses but parser generators do not handle such directly, instead just focusing on generating a parser from a given description while letting the generated parser deal with such.[src] Yacc is written in C and generates parsers in C from its own Yacc metalanguage descriptions.[src] This is also how Berkely Yacc works (thus its compatibility), however, a number of derivatives have been created to allow it to generate parsers in languages other than C.[src] Ray Lischner developed perl-byacc (pbyacc) from byacc 1.6, so that it could also generate parsers in Perl.[src] Later Richard "Rick" Ohnemus ported the patches from byacc 1.6 to byacc 1.8.[src] And later in 1996, Jake Donham developed p5yacc from perl-yacc 1.8.2 so that its generated Perl parsers would use Perl 5 classes.[src] In 1994, Mike Kleyn developed tyacc from perl-yacc 1.8.2 so that it could also generate parsers in Tcl In 1997, Bob Jamison developed BYACC/Java (later called BYACC/J or byaccj) from byacc 1.8, so that it could also generate parsers in Java.[src] In 2000, Bruce Bahnsen merged in the Java parser capabilities of BYACC/J into perl-yacc and added the ability to generate parsers in Python.[src] In 2013, Thomas Dickerson made further improvements on it deeming it PyByacc.[src] In 2003, Dave Bodenstab merged tyacc and p5yacc to develop a PERL-TCL-YACC rebasing it from 4.8 release of yacc from FreeBSD (a byacc derivative).[src] ==See also== Comparison of parser generators ==References== ==External links==[src]

40 sentences · 40 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Berkeley Yacc." encyclopegia.org, 2026, https://encyclopegia.org/wiki/berkeley-yacc. Accessed 03 December 2026.

Chicago

"Berkeley Yacc." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/berkeley-yacc.

APA

encyclopegia.org. (2026). Berkeley Yacc. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/berkeley-yacc

Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date1989Wikipedia
publication date1989Wikipedia

Related articles

A Nightingale Sang in Berkeley Square

stub · references available

Grantley Berkeley

stub · references available

Anthony Berkeley Cox

stub · references available

Berkeley Software Design

stub · references available

Mary Berkeley

stub · references available

Miles Joseph Berkeley

stub · references available

Berkeley County Courthouse

stub · references available

Berkeley Hills

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1333190720 · 0.55 · snapshot berkeley-yacc-558430-68ee5f2765afb6c1 · QID Q4892130

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.