trfold 0.12.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global trfold --version 0.12.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local trfold --version 0.12.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trfold&version=0.12.0                
nuke :add-package trfold --version 0.12.0                

Replace a sequence of symbols on the RHS of a rule with the rule LHS symbol.
This program is part of the Trash toolkit.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.18.1 630 11/11/2022
0.18.0 450 11/7/2022
0.17.0 536 9/11/2022
0.16.5 547 7/29/2022
0.16.4 579 6/13/2022
0.16.3 588 5/7/2022
0.16.2 529 5/6/2022
0.16.1 596 5/5/2022
0.16.0 619 4/13/2022
0.15.1 579 4/4/2022
0.15.0 549 3/20/2022
0.14.3 632 2/27/2022
0.14.2 536 2/18/2022
0.14.1 556 1/26/2022
0.14.0 538 1/26/2022
0.13.8 603 1/14/2022
0.13.7 576 1/13/2022
0.13.6 605 1/13/2022
0.13.5 609 1/12/2022
0.13.4 596 1/11/2022
0.13.3 570 1/10/2022
0.13.2 359 12/24/2021
0.13.1 334 12/24/2021
0.13.0 361 12/23/2021
0.12.0 467 12/6/2021
0.11.5 454 10/17/2021
0.11.4 408 10/17/2021
0.11.3 430 9/28/2021
0.11.2 405 9/26/2021
0.11.1 470 9/25/2021
0.11.0 456 9/24/2021
0.10.0 436 9/9/2021
0.8.9 400 8/13/2021
0.8.8 403 8/5/2021
0.8.7 434 7/20/2021
0.8.6 485 7/13/2021
0.8.5 467 7/6/2021
0.8.4 398 6/24/2021
0.8.3 513 6/13/2021
0.8.2 390 6/8/2021
0.8.1 449 6/2/2021
0.8.0 471 5/27/2021
0.7.0 396 5/10/2021
0.6.0 444 5/3/2021
0.5.5 422 4/22/2021
0.5.0 412 4/14/2021

# Trfold
Reads a parse tree from stdin, replaces a sequence of symbols on
the RHS of a rule with the rule LHS symbol, and writes the modified tree
to stdout. The input and output are Parse Tree Data.
# Usage
trfold <string>
# Example
trparse A.g4 | trfold "//parserRuleSpec[RULE_REF/text() = 'normalAnnotation']"
# 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.12.0 -- Bug fixes for: parsing result sets reading; update to Antlr 4.9.3; standardize -f, -v options across tools; fix trkleene, trrup, trrename, trparse, trfold, trsponge; remove trmvsr, add trmove, trull.