diff options
author | Glenn Becker <glenn.becker@gmail.com> | 2015-12-05 00:28:07 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-05 00:28:07 +0700 |
commit | a655ef2f555049d90680db4bd8245d51ad0dd0fd (patch) | |
tree | 311be9dd24d2e5536649dbf400d85f8b380d18c0 /perl/perl-Pegex/README | |
parent | 9ca4905483ab9066f7ed72ee95e358f8d1e1fa46 (diff) |
perl/perl-Pegex: Added (Acmeist PEG Parser Framework).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Pegex/README')
-rw-r--r-- | perl/perl-Pegex/README | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/perl/perl-Pegex/README b/perl/perl-Pegex/README new file mode 100644 index 0000000000000..dba8a7c057889 --- /dev/null +++ b/perl/perl-Pegex/README @@ -0,0 +1,19 @@ +Pegex is an Acmeist parser framework. It allows you to easily create parsers +that will work equivalently in lots of programming languages! The inspiration +for Pegex comes from the parsing engine upon which the postmodern programming +language Perl 6 is based on. Pegex brings this beauty to the other justmodern +languages that have a normal regular expression engine available. + +Pegex gets it name by combining Parsing Expression Grammars (PEG), with +Regular Expessions (Regex). That's actually what Pegex does. + +PEG is the cool new way to elegantly specify recursive descent grammars. The +Perl 6 language is defined in terms of a self modifying PEG language called +Perl 6 Rules. Regexes are familiar to programmers of most modern programming +languages. Pegex defines a simple PEG syntax, where all the terminals are +regexes. This means that Pegex can be quite fast and powerful. + +Pegex attempts to be the simplest way to define new (or old) Domain Specific +Languages (DSLs) that need to be used in several programming languages and +environments. Things like JSON, YAML, Markdown etc. It also great for writing +parsers/compilers that only need to work in one language. |