trunfold 0.11.5

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

Apply the unfold transform to a collection of terminal nodes
in the parse tree. 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.  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.23.26 3,239 8/17/2025
0.23.25 255 8/9/2025
0.23.24 2,641 7/15/2025
0.23.23 1,035 7/6/2025
0.23.22 641 6/27/2025
0.23.21 1,812 6/6/2025
0.23.20 385 6/4/2025
0.23.19 373 6/4/2025
0.23.18 1,336 5/13/2025
0.23.17 4,318 3/7/2025
0.23.16 568 3/4/2025
0.23.15 201 2/25/2025
0.23.14 717 2/9/2025
0.23.13 467 1/19/2025
0.23.12 488 1/16/2025
0.23.11 2,695 12/18/2024
0.23.10 182 12/12/2024
0.23.9 171 11/29/2024
0.23.8 215 11/1/2024
0.23.7 4,319 10/9/2024
0.23.6 810 9/21/2024
0.23.5 192 9/15/2024
0.23.4 206 9/7/2024
0.23.3 211 8/15/2024
0.23.2 211 6/28/2024
0.23.1 211 6/22/2024
0.23.0 258 4/25/2024
0.22.0 317 2/26/2024
0.21.16 301 11/16/2023
0.21.15 259 11/16/2023
0.21.14 228 11/15/2023
0.21.13 225 11/14/2023
0.21.12 347 10/27/2023
0.21.11 398 10/24/2023
0.21.9 368 9/27/2023
0.21.8 333 9/26/2023
0.21.7 296 9/26/2023
0.21.6 308 9/20/2023
0.21.5 296 9/18/2023
0.21.4 341 9/17/2023
0.21.3 329 9/14/2023
0.21.2 394 9/4/2023
0.18.1 654 11/11/2022
0.18.0 608 11/7/2022
0.17.0 635 9/11/2022
0.16.5 736 7/29/2022
0.16.4 703 6/13/2022
0.16.3 699 5/7/2022
0.16.2 637 5/6/2022
0.16.1 704 5/5/2022
0.16.0 773 4/13/2022
0.15.1 723 4/4/2022
0.15.0 744 3/20/2022
0.14.3 713 2/27/2022
0.14.2 679 2/18/2022
0.14.1 702 1/26/2022
0.14.0 691 1/26/2022
0.13.8 687 1/14/2022
0.13.7 710 1/13/2022
0.13.6 718 1/13/2022
0.13.5 731 1/12/2022
0.13.4 736 1/11/2022
0.13.3 689 1/10/2022
0.13.2 494 12/24/2021
0.13.1 532 12/24/2021
0.13.0 485 12/23/2021
0.12.0 527 12/6/2021
0.11.5 634 10/17/2021
0.11.4 573 10/17/2021
0.11.3 544 9/28/2021
0.11.2 563 9/26/2021
0.11.1 552 9/25/2021
0.11.0 579 9/24/2021
0.10.0 571 9/9/2021
0.8.9 535 8/13/2021
0.8.8 505 8/5/2021
0.8.7 558 7/20/2021
0.8.6 619 7/13/2021
0.8.5 552 7/6/2021
0.8.4 546 6/24/2021
0.8.3 650 6/13/2021
0.8.2 552 6/8/2021
0.8.1 558 6/2/2021
0.8.0 598 5/27/2021
0.7.0 546 5/10/2021
0.6.0 523 5/3/2021
0.5.5 555 4/22/2021
0.5.0 535 4/14/2021

# Trunfold
The unfold command applies the unfold transform to a collection of terminal nodes
in the parse tree, which is identified with the supplied xpath expression. Prior
to using this command, you must have the file parsed. An unfold operation substitutes
the right-hand side of a parser or lexer rule into a reference of the rule name that
occurs at the specified node. The resulting code is parsed and placed on the top of
stack.
# Usage
trunfold <string>
# Examples
trparse A.g4 | trunfold "//parserRuleSpec/RULE_REF[text() = 'markerAnnotation']"
# 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.11.5 -- Bug fixes in trkleene, trrup.