ANTLR4(1)

✨ NAME ✨

bestie, meet antlr4 πŸ’– It's a parser generator, short for ANother Tool for Language Recognition. Iconic, right? 🧚

✨ DESCRIPTION ✨

okay so the big header says ANTLR Parser Generator Version 4.13.2 πŸ’… Here's everything antlr4 can do, no cap:

  • -o ___ β€” specify the output directory where all the output gets generated πŸ“
  • -lib ___ β€” tell it where your grammars and tokens files live πŸ—‚οΈ
  • -atn β€” generate rule augmented transition network diagrams πŸ¦‹
  • -encoding ___ β€” set the grammar file encoding, like euc-jp 🌏
  • -message-format ___ β€” pick the output style for messages: antlr, gnu, or vs2005 πŸ’¬
  • -long-messages β€” show exception details when they're available for errors and warnings πŸ”
  • -listener β€” generate a parse tree listener, which is the default πŸ‘‚
  • -no-listener β€” don't generate a parse tree listener πŸ™…
  • -visitor β€” generate a parse tree visitor πŸ‘€
  • -no-visitor β€” don't generate a parse tree visitor, which is the default 🫢
  • -package ___ β€” specify a package or namespace for the generated code πŸ“¦
  • -depend β€” generate file dependencies πŸ”—
  • -D<option>=value β€” set or override a grammar-level option βš™οΈ
  • -Werror β€” treat warnings as errors 🚨
  • -XdbgST β€” launch the StringTemplate visualizer on the generated code 🎨
  • -XdbgSTWait β€” wait for STViz to close before continuing ⏳
  • -Xforce-atn β€” use the ATN simulator for all predictions 🧠
  • -Xlog β€” dump lots of logging info to antlr-timestamp.log πŸ“œ
  • -Xexact-output-dir β€” all output goes into the -o dir no matter what the paths or package say 🎯

that's the whole page, bestie! 🌈 Written by a antlr4 4.13.2 fan in July 2026 πŸ’œ slay ✨

πŸ“¦ where this page comes from