antlr4-cpp-runtime

C++ runtime library for ANTLR4 parser generators

brewmacoslinux
Try with needOr install directly
Source

About

ANother Tool for Language Recognition C++ Runtime Library

Commands

antlr4-cpp-runtime

Examples

Link ANTLR4 C++ runtime library in a CMake project$ find_package(antlr4-cpp-runtime REQUIRED)
Include ANTLR4 runtime headers in C++ source code$ g++ -I$(brew --prefix antlr4-cpp-runtime)/include -L$(brew --prefix antlr4-cpp-runtime)/lib myparser.cpp -lantlr4-runtime -o myparser
Verify installed ANTLR4 C++ runtime library version$ ls $(brew --prefix antlr4-cpp-runtime)/lib