perl-MarpaX-Languages-Dash-1.00-alt1.noarch.rpm


Advertisement

Description

perl-MarpaX-Languages-Dash - A Marpa-based parser for the DASH language

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-MarpaX-Languages-Dash
Package version 1.00
Package release alt1
Package architecture noarch
Package type rpm
Installed size 86.34 KB
Download size 86.34 KB
Official Mirror ftp.altlinux.org
This module implements a parser for the DASH entry elsewhere in this document (below), a wrapper language around Graphviz's
DOT. That is, the module is a pre-processor for the
DOT language.
Specifically, this module demonstrates how to use the Marpa::R2 manpage's capabilities to have Marpa
repeatedly pass control back to code in your own module, during the parse, to handle those cases
where you don't want Marpa's default processing to occur.
This allows the code to deal with the classic case of where you wish to preserve whitespace in some
contexts, but also want Marpa to discard whitespace in all other contexts.
DASH is easier to use than DOT, which means the user can specify graphs very simply, without having
to learn DOT.
The DASH language is actually a cut-down version of the language used by the Graph::Easy manpage. For a full
explanation of the Graph::Easy language, see http://bloodgate.com/perl/graph/manual/.
The wrapper is parsed into a tree of tokens managed by the Tree:DAG_Node manpage.
If requested by the user, the tree is passed to the default renderer
the MarpaX::Languages::Dash::Renderer manpage. Various options allow the user to control the output, as
an SVG (PNG, ...) image, and to save the DOT version of the graph.
In the past, the code in this module was part of Graph::Easy::Marpa, but that latter module has
been deleted from CPAN, and all it's new code and features, together with bug fixes, is in the
current module.
Note that this module's usage of Marpa's adverbs *event* and *pause* should be regarded as an
intermediate/advanced technique. For people just beginning to use Marpa, use of the *action* adverb
is the recommended technique.
The article mentioned above discusses important issues regarding the timing sequence of *pauses*
and *actions*.
All this assumes a relatively recent version of Marpa, one in which its Scanless interface (SLIF)
is implemented. I'm currently (2014-10-10) using the Marpa::R2 manpage V 2.096000.
Lastly, the parser and renderer will be incorporated ...

Alternatives

Package Version Architecture Repository
perl-MarpaX-Languages-Dash - - -

Requires

Name Value
/usr/share/perl5 -
perl(Config.pm) -
perl(Config/Tiny.pm) >= 2.230
perl(Date/Simple.pm) >= 3.030
perl(Encode.pm) -
perl(File/Basename.pm) >= 2.780
perl(File/HomeDir.pm) >= 1.0
perl(File/Slurper.pm) >= 0.009
perl(File/Spec.pm) >= 3.330
perl(GraphViz2.pm) >= 2.440
perl(HTML/Entities/Interpolate.pm) >= 1.100
perl(Log/Handler.pm) >= 0.880
perl(Marpa/R2.pm) >= 3.0
perl(Moo.pm) >= 2.003
perl(Path/Tiny.pm) >= 0.098
perl(PerlIO.pm) -
perl(PerlIO/encoding.pm) -
perl(Set/Array.pm) >= 0.300
perl(Text/CSV.pm) >= 1.330
perl(Text/Xslate.pm) >= 3.003.009
perl(Tree/DAG_Node.pm) >= 1.290
perl(Try/Tiny.pm) >= 0.270
perl(Types/Standard.pm) >= 1.0.005
perl(charnames.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(MarpaX/Languages/Dash.pm) = 1.0
perl(MarpaX/Languages/Dash/Config.pm) = 1.0
perl(MarpaX/Languages/Dash/Filer.pm) = 1.0
perl(MarpaX/Languages/Dash/Renderer.pm) = 1.0
perl(MarpaX/Languages/Dash/Utils.pm) = 1.0
perl-MarpaX-Languages-Dash = 1.00-alt1

Download

Type URL
Binary Package perl-MarpaX-Languages-Dash-1.00-alt1.noarch.rpm
Source Package perl-MarpaX-Languages-Dash-1.00-alt1.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-MarpaX-Languages-Dash rpm package:
    # sudo apt-get install perl-MarpaX-Languages-Dash

Files

Path
/usr/share/doc/perl-MarpaX-Languages-Dash-1.00/Changelog.ini
/usr/share/doc/perl-MarpaX-Languages-Dash-1.00/Changes
/usr/share/doc/perl-MarpaX-Languages-Dash-1.00/LICENSE
/usr/share/doc/perl-MarpaX-Languages-Dash-1.00/README
/usr/share/perl5/MarpaX/
/usr/share/perl5/MarpaX/Languages/Dash.pm
/usr/share/perl5/MarpaX/Languages/Dash/Config.pm
/usr/share/perl5/MarpaX/Languages/Dash/Filer.pm
/usr/share/perl5/MarpaX/Languages/Dash/Renderer.pm
/usr/share/perl5/MarpaX/Languages/Dash/Utils.pm

See Also

Package Description
perl-MarpaX-Languages-ECMAScript-AST-0.020-alt1.noarch.rpm Translate a ECMAScript source to an AST
perl-MarpaX-Languages-IDL-AST-0.007-alt1.noarch.rpm Translate an IDL source to an AST
perl-MarpaX-Languages-IDL-AST-scripts-0.007-alt1.noarch.rpm MarpaX-Languages-IDL-AST scripts
perl-MarpaX-Languages-Lua-Parser-1.04-alt1.noarch.rpm A Lua parser
perl-MarpaX-Languages-Perl-PackUnpack-1.00-alt1.noarch.rpm Parse the templates used in pack() and unpack()
perl-MarpaX-Languages-PowerBuilder-0.01-alt1.noarch.rpm PowerBuilder sources parsers based on Marpa::R2
perl-MarpaX-Languages-PowerBuilder-scripts-0.01-alt1.noarch.rpm MarpaX-Languages-PowerBuilder scripts
perl-MarpaX-Languages-SVG-Parser-1.09-alt1.noarch.rpm An SVG parser
perl-MarpaX-RFC-RFC3629-0.001-alt1.noarch.rpm Marpa parsing of UTF-8 byte sequences as per RFC3629
perl-MarpaX-RFC-RFC3986-0.002-alt1.noarch.rpm Uniform Resource Identifier (URI): Generic Syntax - Marpa Parser
perl-MarpaX-RFC-RFC3987-0.001-alt1.noarch.rpm Internationalized Resource Identifier (IRI): Generic Syntax - Marpa Parser
perl-MarpaX-Repa-0.12-alt1.noarch.rpm helps start with Marpa
perl-MarpaX-Role-Parameterized-ResourceIdentifier-0.003-alt1.noarch.rpm Resource Identifier Parameterized role
perl-MarpaX-Simple-0.07-alt1.noarch.rpm Generate Marpa-based parser
perl-MarpaX-Simple-Rules-0.2.7-alt1.noarch.rpm Simple definition language for rules
Advertisement
Advertisement