trrename 0.21.6

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

trrename

Summary

Rename symbols in a grammar

Description

Rename symbols in a grammar.

Usage

trrename -r <string>

Details

trrename renames rule symbols in a grammar.

The -r option is required. It is a list of semi-colon delimited pairs of symbol names, which are separated by a comma, e.g., id,identifier;name,name_. If you are using Bash, make sure to enclose the argument as it contains semi-colons.

Examples

trparse Foobar.g4 | trrename -r "a,b;c,d" | trprint > new-grammar.g4

Current version

0.21.6 Fix trquery.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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.23.0 93 4/25/2024
0.22.0 189 2/26/2024
0.21.16 248 11/16/2023
0.21.15 141 11/16/2023
0.21.14 152 11/15/2023
0.21.13 143 11/14/2023
0.21.12 222 10/27/2023
0.21.11 281 10/24/2023
0.21.9 211 9/27/2023
0.21.8 218 9/26/2023
0.21.7 298 9/26/2023
0.21.6 161 9/20/2023
0.21.5 194 9/18/2023
0.21.4 207 9/17/2023
0.21.3 259 9/14/2023
0.21.2 213 9/4/2023
0.21.1 349 8/15/2023
0.21.0 242 6/25/2023
0.20.27 192 6/15/2023
0.20.26 243 6/5/2023
0.20.25 204 6/3/2023
0.20.24 179 6/1/2023
0.20.23 225 5/31/2023
0.20.22 205 5/21/2023
0.20.21 231 5/15/2023
0.20.20 237 5/11/2023
0.20.19 218 5/8/2023
0.20.18 210 5/8/2023
0.20.17 234 5/4/2023
0.20.16 211 5/1/2023
0.20.15 230 4/27/2023
0.20.14 253 4/21/2023
0.20.13 233 4/13/2023
0.20.12 364 3/17/2023
0.20.11 350 3/15/2023
0.20.10 320 3/15/2023
0.20.9 358 3/14/2023
0.20.8 296 3/14/2023
0.20.7 302 3/13/2023
0.20.6 373 3/11/2023
0.20.5 381 3/11/2023
0.20.4 323 3/9/2023
0.20.3 342 3/8/2023
0.20.2 359 3/7/2023
0.20.1 323 3/7/2023
0.20.0 419 2/22/2023
0.19.3 403 2/19/2023
0.19.2 412 2/2/2023
0.19.1 396 1/28/2023
0.19.0 456 1/15/2023
0.19.0-alpha7 332 1/15/2023
0.19.0-alpha6 286 1/14/2023
0.19.0-alpha5 290 1/12/2023
0.19.0-alpha4 257 1/11/2023
0.19.0-alpha3 395 1/5/2023
0.19.0-alpha2 313 1/4/2023
0.19.0-alpha1 303 1/4/2023
0.18.1 517 11/11/2022
0.18.0 456 11/7/2022
0.17.0 493 9/11/2022
0.16.5 533 7/29/2022
0.16.4 607 6/13/2022
0.16.3 572 5/7/2022
0.16.2 517 5/6/2022
0.16.1 586 5/5/2022
0.16.0 629 4/13/2022
0.15.1 588 4/4/2022
0.15.0 549 3/20/2022
0.14.3 533 2/27/2022
0.14.2 542 2/18/2022
0.14.1 575 1/26/2022
0.14.0 567 1/26/2022
0.13.8 570 1/14/2022
0.13.7 561 1/13/2022
0.13.6 543 1/13/2022
0.13.5 600 1/12/2022
0.13.4 565 1/11/2022
0.13.3 609 1/10/2022
0.13.2 408 12/24/2021
0.13.1 402 12/24/2021
0.13.0 402 12/23/2021
0.12.0 394 12/6/2021
0.11.5 490 10/17/2021
0.11.4 458 10/17/2021
0.11.3 429 9/28/2021
0.11.2 435 9/26/2021
0.11.1 441 9/25/2021
0.11.0 452 9/24/2021
0.10.0 428 9/9/2021
0.8.9 424 8/13/2021
0.8.8 406 8/5/2021
0.8.7 431 7/20/2021
0.8.6 448 7/13/2021
0.8.5 439 7/6/2021
0.8.4 402 6/24/2021
0.8.3 513 6/13/2021
0.8.2 419 6/8/2021
0.8.1 435 6/2/2021
0.8.0 485 5/27/2021
0.7.0 411 5/10/2021
0.6.0 403 5/3/2021
0.5.5 432 4/22/2021

# trrename
## Summary
Rename symbols in a grammar
## Description
Rename symbols in a grammar.
## Usage
trrename -r <string>
## Details
`trrename` renames rule symbols in a grammar.
The `-r` option is required. It
is a list of semi-colon delimited pairs of symbol names, which are separated
by a comma, e.g., `id,identifier;name,name_`. If you are using Bash,
make sure to enclose the argument as it contains semi-colons.
## Examples
trparse Foobar.g4 | trrename -r "a,b;c,d" | trprint > new-grammar.g4
## Current version
0.21.6 Fix trquery.