antlr-java

language tool for constructing recognizers, compilers etc

Install

All systems
curl cmd.cat/antlr-java.sh
Debian Debian
apt-get install antlr
Ubuntu
apt-get install antlr
image/svg+xml Kali Linux
apt-get install antlr
CentOS
yum install antlr
Windows (WSL2)
sudo apt-get update sudo apt-get install antlr
OS X
brew install antlr
Raspbian
apt-get install antlr

antlr

language tool for constructing recognizers, compilers etc

ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. Computer language translation has become a common task. While compilers and tools for traditional computer languages (such as C or Java) are still being built, their number is dwarfed by the thousands of mini-languages for which recognizers and translators are being developed. Programmers construct translators for database formats, graphical data files (e.g., PostScript, AutoCAD), text processing files (e.g., HTML, SGML). ANTLR is designed to handle all of your translation tasks.