libantlr3c
« Back to VersTracker
Description:
ANTLRv3 parsing library for C
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: parser compiler antlr dsl parsing
Install: brew install libantlr3c
About:
Libantlr3c is the official C runtime for ANTLR (ANother Tool for Language Recognition) version 3. It provides the core infrastructure needed to execute parsers and tree walkers generated by the ANTLR tool. This library enables developers to build robust language processors, interpreters, and translators for custom domain-specific languages within C-based applications.
Key Features:
  • C-based runtime for ANTLR v3 generated parsers
  • Supports both LL(*) and LL(k) parsing strategies
  • Integrated with the StringTemplate templating engine for code generation
  • Generates parse trees and provides tree walking utilities
Use Cases:
  • Building custom compilers and interpreters for domain-specific languages
  • Creating parsers for configuration files, log formats, or data serialization languages
  • Developing static analysis tools and source code transpilers
Alternatives:
  • libantlr4-runtime – The newer ANTLR 4 runtime features an improved ALL(*) parsing algorithm and simplified API, but libantlr3c is required for legacy v3 grammars.
  • flex/bison – A classic lexer/parser generator combination; Bison uses LALR(1) which is more performant but less flexible and harder to debug than ANTLR's LL(*).
Version History
Detected Version Rev Change Commit