Steps To Install antlr On Mac

Package Information:

Name: antlr
Use: ANTLR: ANother Tool for Language Recognition

What is ANTLR?

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It’s widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.

URL: http://www.antlr.org/

Installation Steps:

  1. Open Terminal using Spotlight search by pressing <command+space>. Type terminal and hit Enter key.
  2. Now, run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install antlr using brew
    brew install antlr

antlr is ready to use now!