goyacc
« Back to VersTracker
Description:
Parser Generator for Go
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: parser-generator golang compiler yacc development
Install: brew install goyacc
About:
Goyacc is a parser generator for Go, based on the classic Yacc algorithm. It processes a grammar file to generate Go source code for a parser, enabling efficient parsing of complex input streams. This tool is essential for developers building compilers, interpreters, or any application requiring structured input analysis.
Key Features:
  • Generates Go parser code from LALR(1) grammar specifications
  • Integrated with Go tooling for seamless development workflows
  • Produces efficient and deterministic parsers
  • Supports state machine generation for optimized performance
Use Cases:
  • Building custom Domain-Specific Languages (DSLs) in Go
  • Developing compilers and interpreters for new programming languages
  • Parsing complex configuration or data formats
Alternatives:
  • goyacc (original) – This modernc.org version is a maintained fork often preferred for its active development and compatibility with current Go versions.
  • goyacc (robpike) – The original version by Rob Pike; the modernc.org fork is generally more up-to-date.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 1:33pm 0 VERSION_BUMP 024738d1
Sep 22, 2024 8:02pm 0 VERSION_BUMP 7069eb0f
Sep 22, 2024 2:22pm 0 NEW 20ae737a