BSD Ports

devel/p5-Pegex 0.75 DragonFly

Acmeist PEG Parser Framework

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
105.8 KiB, 255.3 KiB installed

Description

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.

In the other systems

The newest version among them is 0.75, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Pegex0.75 newestnone known-[email protected]-
FreeBSDdevel/p5-Pegex0.75 newestnone known-[email protected]-
NetBSDdevel/p5-Pegex0.75nb7 newestnone known-[email protected]2026-07-16
MidnightBSDdevel/p5-Pegex0.75 newestno data-[email protected]-
HardenedBSDdevel/p5-Pegex0.75 newestno data-[email protected]-
GhostBSDdevel/p5-Pegex0.75 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Pegex

From DPorts:

cd /usr/dports/devel/p5-Pegex && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3