perl-Parse-Gnaw-0.601-alt2.noarch.rpm


Advertisement

Description

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 ftp.altlinux.org
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');
_$string->parse('SayHello');
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.

Alternatives

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

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Storable.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Parse/Gnaw.pm) = 0.601
perl(Parse/Gnaw/Blocks/Letter.pm) = 0.001
perl(Parse/Gnaw/Blocks/LetterConstants.pm) = 0.001
perl(Parse/Gnaw/Blocks/LetterDimensions2.pm) = 0.001
perl(Parse/Gnaw/Blocks/ParsingMethods.pm) = 0.001
perl(Parse/Gnaw/LinkedList.pm) = 0.001
perl(Parse/Gnaw/LinkedListConstants.pm) = 0.001
perl(Parse/Gnaw/LinkedListDimensions1.pm) = 0.001
perl(Parse/Gnaw/LinkedListDimensions2.pm) = 0.001
perl-Parse-Gnaw = 0.601-alt2

Download

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] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

Files

Path
/usr/share/doc/perl-Parse-Gnaw-0.601/Changes
/usr/share/doc/perl-Parse-Gnaw-0.601/README
/usr/share/perl5/Parse/Gnaw.pm
/usr/share/perl5/Parse/Gnaw.pod
/usr/share/perl5/Parse/Gnaw/LinkedList.pm
/usr/share/perl5/Parse/Gnaw/LinkedListConstants.pm
/usr/share/perl5/Parse/Gnaw/LinkedListDimensions1.pm
/usr/share/perl5/Parse/Gnaw/LinkedListDimensions2.pm
/usr/share/perl5/Parse/Gnaw/Blocks/Letter.pm
/usr/share/perl5/Parse/Gnaw/Blocks/LetterConstants.pm
/usr/share/perl5/Parse/Gnaw/Blocks/LetterDimensions2.pm
/usr/share/perl5/Parse/Gnaw/Blocks/ParsingMethods.pm

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
Advertisement
Advertisement