ANTLR4 Grammar Formatter
JSON →A library for formatting ANTLR4 grammar files, supporting a wide variety of formatting options. Current stable version is 2.1.5, released on a modest cadence with bug fixes and dependency updates. It is the only dedicated formatter for ANTLR4 grammars, offering fine-grained control over whitespace, alignment, and comment placement. The companion CLI package antlr-format-cli provides a command-line interface for batch processing.
Resources
packageantlr-format ↗