textproc/p5-Parse-Flex 0.12_1 FreeBSD
The Fastest Lexer in the West
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3
- Categories
- textproc, perl5
- Package size
- 22.2 KiB, 52.5 KiB installed
Description
Parse::Flex works similar to Parse::Lex, but it uses XS for faster performance.
This module allows you to construct a lexer analyzer with your custom rules. Parse::Flex is not intended to be used directly; instead, use the script makelexer.pl to submit your grammar file. The output of the script is a custom shared library and a custom .pm module which, among other things, will transparently load the library and provide interface to your (custom) lexer. In other words, you supply a grammar.l file to makelexer.pl and you receive Flex01.pm and Flex02.so . Then, use only the Flex01.pm - since Flex01.pm will automatically load Flex01.so.
The grammar.l file requires the same syntax as flex(1); that is, the actions are written in C . See the flex(1) documentation to learn the syntax, or fetch the sample t/grammar.l file inside this package.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Parse-Flex | 0.12_1 |
| DragonFly | textproc/p5-Parse-Flex | 0.12_1 |
| HardenedBSD | textproc/p5-Parse-Flex | 0.12_1 |
| GhostBSD | textproc/p5-Parse-Flex | 0.12_1 |
Install
Binary package:
pkg install p5-Parse-Flex
From the ports tree:
cd /usr/ports/textproc/p5-Parse-Flex/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Parse-Flex>0:textproc/p5-Parse-Flex
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.12_1 | 0.12_1 | 0.12_1 | 0.12_1 | 0.12_1 |
| FreeBSD:14:quarterly | 0.12_1 | 0.12_1 | n/a | 0.12_1 | 0.12_1 |
| FreeBSD:15:latest | 0.12_1 | 0.12_1 | n/a | 0.12_1 | 0.12_1 |
| FreeBSD:15:quarterly | 0.12_1 | 0.12_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12_1 | 0.12_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 5
- bin/makelexer.pl
- %%PERL5_MAN3%%/Parse::Flex.3.gz
- %%PERL5_MAN3%%/Parse::Flex::Generate.3.gz
- %%SITE_PERL%%/Parse/Flex.pm
- %%SITE_PERL%%/Parse/Flex/Generate.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Parse-Flex-0.12.tar.gz | 10606 | 37b29347bbe96d4a1f40fb9716b6a663b5d387e7e03738dddd5081a75e76ca6b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.