devel/p5-Pegex 0.75 FreeBSD
Acmeist PEG Parser Framework
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 104.4 KiB, 250.6 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Pegex | 0.75 |
| NetBSD | devel/p5-Pegex | 0.75nb7 |
| DragonFly | devel/p5-Pegex | 0.75 |
| MidnightBSD | devel/p5-Pegex | 0.75 |
| HardenedBSD | devel/p5-Pegex | 0.75 |
| GhostBSD | devel/p5-Pegex | 0.75 |
Install
Binary package:
pkg install p5-Pegex
From the ports tree:
cd /usr/ports/devel/p5-Pegex/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Pegex>0:devel/p5-Pegex
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 |
| FreeBSD:14:quarterly | 0.75 | 0.75 | n/a | 0.75 | 0.75 |
| FreeBSD:15:latest | 0.75 | 0.75 | n/a | 0.75 | 0.75 |
| FreeBSD:15:quarterly | 0.75 | 0.75 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.75 | 0.75 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-File-ShareDir-Install>=0.06: devel/p5-File-ShareDir-Installp5-XXX>=0.35: devel/p5-XXXp5-YAML-PP>=0.019: textproc/p5-YAML-PP
Runtime 2
p5-XXX>=0.35: devel/p5-XXXp5-YAML-PP>=0.019: textproc/p5-YAML-PP
Test 1
p5-Tie-IxHash>=0: devel/p5-Tie-IxHash
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 3
Required by 45
- audio/mp3burn
- audio/p5-Audio-Wav
- audio/p5-Ogg-Vorbis-Header
- devel/p5-Data-Frame
- devel/p5-Device-USB
- devel/p5-GraphQL
- devel/p5-Inline-ASM
- devel/p5-Inline-C
- devel/p5-Inline-CPP
- devel/p5-Inline-Filters
- devel/p5-Inline-Java
- devel/p5-InlineX-C2XS
- devel/p5-InlineX-CPP2XS
- devel/p5-Test2-Tools-PDL
- german/BBBike
- graphics/p5-Geo-GDAL-FFI
- graphics/p5-Gimp
- mail/mailscanner
- math/p5-Math-Symbolic-Custom-CCompiler
- math/p5-PDL
- math/p5-PDL-DateTime
- math/p5-PDL-Fit
- math/p5-PDL-GSL
- math/p5-PDL-Graphics-IIS
- math/p5-PDL-Graphics-Limits
- math/p5-PDL-Graphics-PLplot
- math/p5-PDL-IO-Browser
- math/p5-PDL-IO-Dicom
- math/p5-PDL-IO-ENVI
- math/p5-PDL-IO-GD
- math/p5-PDL-IO-HDF
- math/p5-PDL-IO-IDL
- math/p5-PDL-LinearAlgebra
- math/p5-PDL-Minuit
- math/p5-PDL-Opt-Simplex
- math/p5-PDL-Perldl2
- math/p5-PDL-Transform-Proj4
- math/p5-Task-Math-Symbolic
- science/p5-Mcstas-Tools
- security/p5-Crypt-OpenSSL-CA
- sysutils/p5-BSD-Jail-Object
- textproc/p5-Search-VectorSpace
- www/p5-Apache-MP3
- www/p5-HTML-Template-JIT
- x11/p5-X11-IdleTime
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 60
- %%SITE_PERL%%/Pegex.pm
- %%SITE_PERL%%/Pegex.pod
- %%SITE_PERL%%/Pegex/API.pod
- %%SITE_PERL%%/Pegex/Base.pm
- %%SITE_PERL%%/Pegex/Bootstrap.pm
- %%SITE_PERL%%/Pegex/Bootstrap.pod
- %%SITE_PERL%%/Pegex/Compiler.pm
- %%SITE_PERL%%/Pegex/Compiler.pod
- %%SITE_PERL%%/Pegex/Grammar.pm
- %%SITE_PERL%%/Pegex/Grammar.pod
- %%SITE_PERL%%/Pegex/Grammar/Atoms.pm
- %%SITE_PERL%%/Pegex/Grammar/Atoms.pod
- %%SITE_PERL%%/Pegex/Input.pm
- %%SITE_PERL%%/Pegex/Input.pod
- %%SITE_PERL%%/Pegex/Miscellany.pod
- %%SITE_PERL%%/Pegex/Module.pm
- %%SITE_PERL%%/Pegex/Module.pod
- %%SITE_PERL%%/Pegex/Optimizer.pm
- %%SITE_PERL%%/Pegex/Overview.pod
- %%SITE_PERL%%/Pegex/Parser.pm
- %%SITE_PERL%%/Pegex/Parser.pod
- %%SITE_PERL%%/Pegex/Parser/Indent.pm
- %%SITE_PERL%%/Pegex/Pegex/AST.pm
- %%SITE_PERL%%/Pegex/Pegex/Grammar.pm
- %%SITE_PERL%%/Pegex/Pegex/Grammar.pod
- %%SITE_PERL%%/Pegex/Receiver.pm
- %%SITE_PERL%%/Pegex/Receiver.pod
- %%SITE_PERL%%/Pegex/Regex.pm
- %%SITE_PERL%%/Pegex/Regex.pod
- %%SITE_PERL%%/Pegex/Resources.pod
- %%SITE_PERL%%/Pegex/Syntax.pod
- %%SITE_PERL%%/Pegex/Tree.pm
- %%SITE_PERL%%/Pegex/Tree.pod
- %%SITE_PERL%%/Pegex/Tree/Wrap.pm
- %%SITE_PERL%%/Pegex/Tree/Wrap.pod
- %%SITE_PERL%%/Pegex/Tutorial.pod
- %%SITE_PERL%%/Pegex/Tutorial/Calculator.pod
- %%SITE_PERL%%/Pegex/Tutorial/JSON.pod
- %%SITE_PERL%%/auto/share/dist/Pegex/pegex.pgx
- %%PERL5_MAN3%%/Pegex.3.gz
- %%PERL5_MAN3%%/Pegex::API.3.gz
- %%PERL5_MAN3%%/Pegex::Bootstrap.3.gz
- %%PERL5_MAN3%%/Pegex::Compiler.3.gz
- %%PERL5_MAN3%%/Pegex::Grammar.3.gz
- %%PERL5_MAN3%%/Pegex::Grammar::Atoms.3.gz
- %%PERL5_MAN3%%/Pegex::Input.3.gz
- %%PERL5_MAN3%%/Pegex::Miscellany.3.gz
- %%PERL5_MAN3%%/Pegex::Module.3.gz
- %%PERL5_MAN3%%/Pegex::Overview.3.gz
- %%PERL5_MAN3%%/Pegex::Parser.3.gz
- %%PERL5_MAN3%%/Pegex::Pegex::Grammar.3.gz
- %%PERL5_MAN3%%/Pegex::Receiver.3.gz
- %%PERL5_MAN3%%/Pegex::Regex.3.gz
- %%PERL5_MAN3%%/Pegex::Resources.3.gz
- %%PERL5_MAN3%%/Pegex::Syntax.3.gz
- %%PERL5_MAN3%%/Pegex::Tree.3.gz
- %%PERL5_MAN3%%/Pegex::Tree::Wrap.3.gz
- %%PERL5_MAN3%%/Pegex::Tutorial.3.gz
- %%PERL5_MAN3%%/Pegex::Tutorial::Calculator.3.gz
- %%PERL5_MAN3%%/Pegex::Tutorial::JSON.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Pegex-0.75.tar.gz | 148676 | 4dc8d335de80b25247cdb3f946f0d10d9ba0b3c34b0ed7d00316fd068fd05edc |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.