BSD Ports

devel/antlr4-cpp-runtime 4.13.2 MidnightBSD

C++ target for ANTLR 4

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
99cb066157
License
bsd3
Categories
devel

Description

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 parse trees and also generates a listener interface (or visitor) that makes it easy to respond to the recognition of phrases of interest.

This port provides C++ target for ANTLR 4. It contains the C++ runtime support for ANTLR. See the canonical antlr4 repository for in depth detail about how to use ANTLR 4.

In the other systems

The newest version among them is 4.13.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/antlr4-cpp-runtime4.13.2 newestno data-[email protected]2026-11-20
FreeBSDdevel/antlr4-cpp-runtime4.13.2 newestnone known-[email protected]2026-09-30
NetBSDdevel/antlr4-cpp-runtime4.13.2 newestnone known-[email protected]-
DragonFlydevel/antlr4-cpp-runtime4.13.2 newestnone known-[email protected]-
HardenedBSDdevel/antlr4-cpp-runtime4.13.2 newestno data-[email protected]-
GhostBSDdevel/antlr4-cpp-runtime4.13.2 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 4.13.2 99cb066157

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install antlr4-cpp-runtime

From mports:

cd /usr/mports/devel/antlr4-cpp-runtime && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	antlr4-cpp-runtime>0:devel/antlr4-cpp-runtime
LIB_DEPENDS=	libantlr4-runtime.so:devel/antlr4-cpp-runtime

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Required by 1

Configuration

Options name: devel_antlr4-cpp-runtime

OptionDefaultDescription
DOCSoff
USES
cmake compiler:c++17-lang zip
Service scripts
none

Files

pkg-plist 177
  • @dir include/antlr4-runtime/.idea
  • include/antlr4-runtime/ANTLRErrorListener.h
  • include/antlr4-runtime/ANTLRErrorStrategy.h
  • include/antlr4-runtime/ANTLRFileStream.h
  • include/antlr4-runtime/ANTLRInputStream.h
  • include/antlr4-runtime/BailErrorStrategy.h
  • include/antlr4-runtime/BaseErrorListener.h
  • include/antlr4-runtime/BufferedTokenStream.h
  • include/antlr4-runtime/CharStream.h
  • include/antlr4-runtime/CommonToken.h
  • include/antlr4-runtime/CommonTokenFactory.h
  • include/antlr4-runtime/CommonTokenStream.h
  • include/antlr4-runtime/ConsoleErrorListener.h
  • include/antlr4-runtime/DefaultErrorStrategy.h
  • include/antlr4-runtime/DiagnosticErrorListener.h
  • include/antlr4-runtime/Exceptions.h
  • include/antlr4-runtime/FailedPredicateException.h
  • include/antlr4-runtime/FlatHashMap.h
  • include/antlr4-runtime/FlatHashSet.h
  • include/antlr4-runtime/InputMismatchException.h
  • include/antlr4-runtime/IntStream.h
  • include/antlr4-runtime/InterpreterRuleContext.h
  • include/antlr4-runtime/Lexer.h
  • include/antlr4-runtime/LexerInterpreter.h
  • include/antlr4-runtime/LexerNoViableAltException.h
  • include/antlr4-runtime/ListTokenSource.h
  • include/antlr4-runtime/NoViableAltException.h
  • include/antlr4-runtime/Parser.h
  • include/antlr4-runtime/ParserInterpreter.h
  • include/antlr4-runtime/ParserRuleContext.h
  • include/antlr4-runtime/ProxyErrorListener.h
  • include/antlr4-runtime/RecognitionException.h
  • include/antlr4-runtime/Recognizer.h
  • include/antlr4-runtime/RuleContext.h
  • include/antlr4-runtime/RuleContextWithAltNum.h
  • include/antlr4-runtime/RuntimeMetaData.h
  • include/antlr4-runtime/Token.h
  • include/antlr4-runtime/TokenFactory.h
  • include/antlr4-runtime/TokenSource.h
  • include/antlr4-runtime/TokenStream.h
  • include/antlr4-runtime/TokenStreamRewriter.h
  • include/antlr4-runtime/UnbufferedCharStream.h
  • include/antlr4-runtime/UnbufferedTokenStream.h
  • include/antlr4-runtime/Version.h
  • include/antlr4-runtime/Vocabulary.h
  • include/antlr4-runtime/WritableToken.h
  • include/antlr4-runtime/antlr4-common.h
  • include/antlr4-runtime/antlr4-runtime.h
  • include/antlr4-runtime/atn/ATN.h
  • include/antlr4-runtime/atn/ATNConfig.h
  • include/antlr4-runtime/atn/ATNConfigSet.h
  • include/antlr4-runtime/atn/ATNDeserializationOptions.h
  • include/antlr4-runtime/atn/ATNDeserializer.h
  • include/antlr4-runtime/atn/ATNSimulator.h
  • include/antlr4-runtime/atn/ATNState.h
  • include/antlr4-runtime/atn/ATNStateType.h
  • include/antlr4-runtime/atn/ATNType.h
  • include/antlr4-runtime/atn/ActionTransition.h
  • include/antlr4-runtime/atn/AmbiguityInfo.h
  • include/antlr4-runtime/atn/ArrayPredictionContext.h
  • include/antlr4-runtime/atn/AtomTransition.h
  • include/antlr4-runtime/atn/BasicBlockStartState.h
  • include/antlr4-runtime/atn/BasicState.h
  • include/antlr4-runtime/atn/BlockEndState.h
  • include/antlr4-runtime/atn/BlockStartState.h
  • include/antlr4-runtime/atn/ContextSensitivityInfo.h
  • include/antlr4-runtime/atn/DecisionEventInfo.h
  • include/antlr4-runtime/atn/DecisionInfo.h
  • include/antlr4-runtime/atn/DecisionState.h
  • include/antlr4-runtime/atn/EpsilonTransition.h
  • include/antlr4-runtime/atn/ErrorInfo.h
  • include/antlr4-runtime/atn/HashUtils.h
  • include/antlr4-runtime/atn/LL1Analyzer.h
  • include/antlr4-runtime/atn/LexerATNConfig.h
  • include/antlr4-runtime/atn/LexerATNSimulator.h
  • include/antlr4-runtime/atn/LexerAction.h
  • include/antlr4-runtime/atn/LexerActionExecutor.h
  • include/antlr4-runtime/atn/LexerActionType.h
  • include/antlr4-runtime/atn/LexerChannelAction.h
  • include/antlr4-runtime/atn/LexerCustomAction.h
  • include/antlr4-runtime/atn/LexerIndexedCustomAction.h
  • include/antlr4-runtime/atn/LexerModeAction.h
  • include/antlr4-runtime/atn/LexerMoreAction.h
  • include/antlr4-runtime/atn/LexerPopModeAction.h
  • include/antlr4-runtime/atn/LexerPushModeAction.h
  • include/antlr4-runtime/atn/LexerSkipAction.h
  • include/antlr4-runtime/atn/LexerTypeAction.h
  • include/antlr4-runtime/atn/LookaheadEventInfo.h
  • include/antlr4-runtime/atn/LoopEndState.h
  • include/antlr4-runtime/atn/NotSetTransition.h
  • include/antlr4-runtime/atn/OrderedATNConfigSet.h
  • include/antlr4-runtime/atn/ParseInfo.h
  • include/antlr4-runtime/atn/ParserATNSimulator.h
  • include/antlr4-runtime/atn/ParserATNSimulatorOptions.h
  • include/antlr4-runtime/atn/PlusBlockStartState.h
  • include/antlr4-runtime/atn/PlusLoopbackState.h
  • include/antlr4-runtime/atn/PrecedencePredicateTransition.h
  • include/antlr4-runtime/atn/PredicateEvalInfo.h
  • include/antlr4-runtime/atn/PredicateTransition.h
  • include/antlr4-runtime/atn/PredictionContext.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
antlr4-cpp-runtime-4.13.2-source.zip3.18215e+060ed13668906e86dbc0dcddf30fdee68c10203dea4e83852b4edb810821bee3c4
Master sites 1
  • https://www.antlr.org/download/

Commit history 1

DateCommitCreditsLog message
99cb066157 Lucas Holt devel/antlr4-cpp-runtime: add C++ runtime 4.13.2
Provide the ANTLR 4 C++ runtime required by AFDKO. Recognize MidnightBSD in its Clang configuration. AI-Assisted-by: Codex (GPT-6.1 Terra) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>