trreplace 0.16.3

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global trreplace --version 0.16.3
                    
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 trreplace --version 0.16.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trreplace&version=0.16.3
                    
nuke :add-package trreplace --version 0.16.3
                    

Replaces nodes with arbitrary text in a parse tree.
This program is part of the Trash toolkit.

Product 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. 
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.22.0 470 2/26/2024
0.21.16 376 11/16/2023
0.21.15 309 11/16/2023
0.21.14 247 11/15/2023
0.21.13 252 11/14/2023
0.21.12 404 10/27/2023
0.21.11 373 10/24/2023
0.21.9 334 9/27/2023
0.21.8 355 9/26/2023
0.21.7 386 9/26/2023
0.21.6 395 9/20/2023
0.21.5 335 9/18/2023
0.21.4 322 9/17/2023
0.21.3 349 9/14/2023
0.21.2 373 9/4/2023
0.21.1 435 8/15/2023
0.21.0 400 6/25/2023
0.20.27 325 6/15/2023
0.20.26 347 6/5/2023
0.16.3 805 5/7/2022
Loading failed

# trreplace
Reads a parse tree from stdin, replaces nodes with text using
the specified XPath expression, and writes the modified tree
to stdout. The input and output are Parse Tree Data.
# Usage
trreplace <xpath-string> <text-string>
# Example
trparse Java.g4 | trreplace "//parserRuleSpec[RULE_REF/text() = 'normalAnnotation']" "nnn" | trtree | vim -
# 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.16.3 -- Fix to trgen and Cpp target.