Pegex Commandline Utility
Perl Perl6
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
doc/Pegex
lib/Pegex
test/devel
.travis.yml
About
Changes
Meta
ReadMe.pod

ReadMe.pod

Name

Pegex::Cmd - Support module for the 'pegex' CLI command

Version

This document describes Pegex::Cmd version 0.26.

Synopsis

From the command line:

> pegex help

> pegex compile --to=yaml your-grammar.pgx
> pegex compile --to=json your-grammar.pgx
> pegex compile --to=perl your-grammar.pgx
> pegex compile --to=perl6 your-grammar.pgx
> pegex compile --to=python your-grammar.pgx

Description

The pegex command line tool compiles a Pegex grammar into a particular format and prints it to STDOUT. This tool just provides a simple way to invoke Pegex::Compiler from the command line. See the Pegex documentation for more information.

Author

Ingy döt Net <ingy@cpan.org>

Copyright and License

Copyright 2011-2015. Ingy döt Net.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html