README-work

Raku Grammar::TokenProcessing

In brief

Raku package for processing grammar files in order to:

  • Extract tokens

  • Replace token names

  • Add fuzzy matching expressions in token definitions.

Installation

Installation from Zef ecosystem:

zef install Grammar::TokenProcessing

Installation from GitHub:

zef install https://github.com/antononcube/Raku-Grammar-TokenProcessing.git

Examples

Below are shown usages via the Command Line Interface (CLI) of UNIX-like operating systems.

Add fuzzy matching to token specs

add-token-fuzzy-matching --help

Gather tokens

get-tokens --help

Gather tokens into a hash

get-tokens-hash --help

Replace token names

replace-token-names --help

Grammar::TokenProcessing v0.1.2

Processing grammar files in order to extract tokens, to replace token names, or to add fuzzy matching expressions in token definitions.

Authors

  • Anton Antonov

License

Artistic-2.0

Dependencies

Lingua::EN::Stem::Porter:ver<1.2+>Text::Levenshtein::Damerau:ver<0.3.0+>

Test Dependencies

Provides

  • Grammar::TokenProcessing
  • Grammar::TokenProcessing::Actions::EnhancedTokens
  • Grammar::TokenProcessing::Actions::TokenNames
  • Grammar::TokenProcessing::Actions::Tokens
  • Grammar::TokenProcessing::Actions::TokensHash
  • Grammar::TokenProcessing::Grammar

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.