BSD Ports

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

SystemPortVersion
FreeBSDtextproc/p5-Parse-Flex0.12_1
DragonFlytextproc/p5-Parse-Flex0.12_1
HardenedBSDtextproc/p5-Parse-Flex0.12_1
GhostBSDtextproc/p5-Parse-Flex0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.12_10.12_10.12_10.12_10.12_1
FreeBSD:14:quarterly0.12_10.12_1n/a0.12_10.12_1
FreeBSD:15:latest0.12_10.12_1n/a0.12_10.12_1
FreeBSD:15:quarterly0.12_10.12_1n/an/an/a
FreeBSD:16:latest0.12_10.12_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Parse-Flex-0.12.tar.gz1060637b29347bbe96d4a1f40fb9716b6a663b5d387e7e03738dddd5081a75e76ca6b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.