perl-Parse-Gnaw - Write extensible, recursive, grammars in

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Parse-Gnaw
Package version 0.601
Package release alt2
Package architecture noarch
Package type rpm
Installed size 115.59 KB
Download size 115.59 KB
Official Mirror
Write extensible, recursive, grammars using pure perl code.
Grammar rules are perl arrays. Apply them to whatever parsee you want.
Normal parsees would be strings. Interesting parsees might be a
three-dimensional array of characters.
_no strict 'vars';
_use Parse::Gnaw;
_use Parse::Gnaw::String;
_rule('SayHello', 'Hello', 'World');
_my $string=Parse::Gnaw::String->New('So Hello World of mine');
This is the second generation of Parse::Gnaw starting from revision 0.600.
Gen1 stored rules as code references and that prevented recursive calls
within a rule as calling the code ref for the rule would go into an
infinite loop. Gen2 uses array references to store rule, with the name
of the array reference variable matching the name of the rule.
_our $rulename = [ .... rule content .... ];
It should allow recursive rules, although it will probably get hung
in an infinite loop trying to match a left recursive rule.


Package Version Architecture Repository
perl-Parse-Gnaw - - -


Name Value
/usr/share/perl5 -
perl(Data/ -
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Parse/ = 0.601
perl(Parse/Gnaw/Blocks/ = 0.001
perl(Parse/Gnaw/Blocks/ = 0.001
perl(Parse/Gnaw/Blocks/ = 0.001
perl(Parse/Gnaw/Blocks/ = 0.001
perl(Parse/Gnaw/ = 0.001
perl(Parse/Gnaw/ = 0.001
perl(Parse/Gnaw/ = 0.001
perl(Parse/Gnaw/ = 0.001
perl-Parse-Gnaw = 0.601-alt2


Type URL
Binary Package perl-Parse-Gnaw-0.601-alt2.noarch.rpm
Source Package perl-Parse-Gnaw-0.601-alt2.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Parse-Gnaw rpm package:
    # sudo apt-get install perl-Parse-Gnaw



See Also

Package Description
perl-Parse-GutenbergRoget-0.022-alt1.noarch.rpm parse Project Gutenberg's Roget's Thesaurus
perl-Parse-HP-ACU-0.03-alt1.noarch.rpm Parse the output of HP's hpacucli utility
perl-Parse-HTTP-UserAgent-0.42-alt1.noarch.rpm Parser for the User Agent string
perl-Parse-Highlife-0.02-alt1.noarch.rpm Perl extension for grammar based parsing and transformation of data
perl-Parse-Hosts-0.002-alt1.noarch.rpm Parse /etc/hosts
perl-Parse-IASLog-1.14-alt1.noarch.rpm A parser for Microsoft IAS-formatted log entries
perl-Parse-IRC-1.22-alt1_3.noarch.rpm A parser for the IRC protocol
perl-Parse-IRCLog-1.106-alt1.noarch.rpm parse internet relay chat logs
perl-Parse-ISF-0.0103-alt1.noarch.rpm Parse the ISF file generated by certain models of
perl-Parse-Indented-0.02-alt1.noarch.rpm Given a Pythonesque set of indented lines, parses them into a convenient hierarchical structure
perl-Parse-JCONF-0.05-alt1.noarch.rpm Parse JCONF (JSON optimized for configs)
perl-Parse-JapanesePostalCode-0.03-alt1.noarch.rpm PostalCode Parser for
perl-Parse-KeyValue-Shellish-0.01-alt1.noarch.rpm Parses the key-value pairs like a shell script
perl-Parse-LocalDistribution-0.19-alt1.noarch.rpm parses local .pm files as PAUSE does
perl-Parse-Log-Smbd-0.02-alt1.noarch.rpm parse log.smbd files to fetch usernames and connections to network shares