Skip to content

pegex-parser/pegex-cmd-pm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name

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

Version

This document describes Pegex::Cmd version 0.28.

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

Packages

No packages published

Languages