trrup 0.18.1
dotnet tool install --global trrup --version 0.18.1
dotnet new tool-manifest
dotnet tool install --local trrup --version 0.18.1
#tool dotnet:?package=trrup&version=0.18.1
nuke :add-package trrup --version 0.18.1
Reads an Antlr4 grammar from stdin and identifies problems in the grammar.
This program is part of the Trash toolkit.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.18.1 | 870 | 11/11/2022 |
| 0.18.0 | 593 | 11/7/2022 |
| 0.17.0 | 628 | 9/11/2022 |
| 0.16.5 | 709 | 7/29/2022 |
| 0.16.4 | 714 | 6/13/2022 |
| 0.16.3 | 751 | 5/7/2022 |
| 0.16.2 | 709 | 5/6/2022 |
| 0.16.1 | 699 | 5/5/2022 |
| 0.16.0 | 751 | 4/13/2022 |
| 0.15.1 | 749 | 4/4/2022 |
| 0.15.0 | 718 | 3/20/2022 |
| 0.14.3 | 796 | 2/27/2022 |
| 0.14.2 | 717 | 2/18/2022 |
| 0.14.1 | 712 | 1/26/2022 |
| 0.14.0 | 708 | 1/26/2022 |
| 0.13.8 | 726 | 1/14/2022 |
| 0.13.7 | 719 | 1/13/2022 |
| 0.13.6 | 688 | 1/13/2022 |
| 0.13.5 | 758 | 1/12/2022 |
| 0.13.4 | 698 | 1/11/2022 |
# trrup
## Summary
Remove useless parentheses in a grammar
## Description
Remove useless parentheses from a grammar.
## Usage
trrup
## Details
`trrup` removes useless parentheses in a grammar.
## Example
_Input to command_
grammar:
grammar Expression;
v : ( ( VALID_ID_START ( VALID_ID_CHAR*) ) ) ;
_Command_
trparse Expression.g4 | trrup | trprint
_Result_
grammar Expression;
v : VALID_ID_START VALID_ID_CHAR* ;
## Notes
If you are running MSYS2 on Windows, you may notice that XPaths are not being
processed by this command correctly. To avoid the Bash shell from altering
XPaths, type _export MSYS2_ARG_CONV_EXCL="*"_, then execute your command.
## Current version
0.18.1 Fix trperf, trfirst. Adding Xalan code. Fix #180. Fix crash in trgen https://github.com/antlr/grammars-v4/issues/2818. Fix #134. Add -e option to trrename. Update Antlr4BuildTasks version. Fix #197, #198. Fix trparse exit code. Add --quiet option to trparse to just get exit code. Change trgen templates to remove -file option, make file name parsing the default.