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


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


Name Value
/usr/share/perl5 -
perl( -
perl(Config/ >= 2.230
perl(Date/ >= 3.030
perl( -
perl(File/ >= 2.780
perl(File/ >= 1.0
perl(File/ >= 0.009
perl(File/ >= 3.330
perl( >= 2.440
perl(HTML/Entities/ >= 1.100
perl(Log/ >= 0.880
perl(Marpa/ >= 3.0
perl( >= 2.003
perl(Path/ >= 0.098
perl( -
perl(PerlIO/ -
perl(Set/ >= 0.300
perl(Text/ >= 1.330
perl(Text/ >= 3.003.009
perl(Tree/ >= 1.290
perl(Try/ >= 0.270
perl(Types/ >= 1.0.005
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(MarpaX/Languages/ = 1.0
perl(MarpaX/Languages/Dash/ = 1.0
perl(MarpaX/Languages/Dash/ = 1.0
perl(MarpaX/Languages/Dash/ = 1.0
perl(MarpaX/Languages/Dash/ = 1.0
perl-MarpaX-Languages-Dash = 1.00-alt1


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] noarch autoimports
    rpm [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



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