Ubiquity.NET.ANTLR.Utils
20.1.8-alpha.0.2
This is a prerelease version of Ubiquity.NET.ANTLR.Utils.
Requires NuGet 4.9.0 or higher.
dotnet add package Ubiquity.NET.ANTLR.Utils --version 20.1.8-alpha.0.2
NuGet\Install-Package Ubiquity.NET.ANTLR.Utils -Version 20.1.8-alpha.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ubiquity.NET.ANTLR.Utils" Version="20.1.8-alpha.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ubiquity.NET.ANTLR.Utils" Version="20.1.8-alpha.0.2" />
<PackageReference Include="Ubiquity.NET.ANTLR.Utils" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ubiquity.NET.ANTLR.Utils --version 20.1.8-alpha.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ubiquity.NET.ANTLR.Utils, 20.1.8-alpha.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ubiquity.NET.ANTLR.Utils@20.1.8-alpha.0.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ubiquity.NET.ANTLR.Utils&version=20.1.8-alpha.0.2&prerelease
#tool nuget:?package=Ubiquity.NET.ANTLR.Utils&version=20.1.8-alpha.0.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
This library provides general extensions to ANTLR including adapter bindings for the Ubiquity.NET.Runtime library.
Key usage
- Get a SourceLocation from various ANTLR types (rule,tokens,terminals)
- This provides an adaptation to the abstract SourceLocation
- Debug trace listener
- Provides debug TRACE support for any parser by listening for every rule and using Debug.Trace() to generate a string representation of that rule. This is VERY useful when developing or debugging a grammar.
- Adapter for parse error listeners to a unified and abstract
Ubiquity.NET.Runtime.IParseErrorListener
.- This allows building consumers that deal with errors and remain indepent of the parsing technology.
- Extension functions that provides commonly used support for ANTLR
- Get a character interval from a ParserRuleContext with support for the standard EOF rule.
- Gets the source stream from an IRecognizer
- Gets the source text from a rule context and recognizer that produced it.
- Gets source text from a rule context and stream that it was parsed from.
- Gets a unique ID for a parse tree
- Useful for building graphs of the result of parsing as many graphing representations require a unique node id for every node in the graph.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Antlr4.Runtime.Standard (>= 4.13.1)
- Ubiquity.NET.Runtime.Utils (>= 20.1.8-alpha.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
20.1.8-alpha.0.2 | 491 | 7/22/2025 |
20.1.8-alpha.0.1 | 23 | 7/18/2025 |
20.1.8-alpha | 114 | 7/16/2025 |