textproc/p5-Parse-Flex 0.12_1 DragonFly
The Fastest Lexer in the West
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv3
- Categories
- perl5, textproc
- Package size
- 21.6 KiB, 52.9 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
The newest version among them is 0.12, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | textproc/p5-Parse-Flex | 0.12_1 newest | none known | - | [email protected] | - |
| FreeBSD | textproc/p5-Parse-Flex | 0.12_1 newest | none known | - | [email protected] | - |
| HardenedBSD | textproc/p5-Parse-Flex | 0.12_1 newest | no data | - | [email protected] | - |
| GhostBSD | textproc/p5-Parse-Flex | 0.12_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Parse-Flex
From DPorts:
cd /usr/dports/textproc/p5-Parse-Flex && 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 1
No port depends on this one.