BSD Ports

devel/py-spark-parser 1.9.0 FreeBSD

Earley-Algorithm Context-free grammar Parser Toolkit

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
107.9 KiB, 552.4 KiB installed

Description

This package uses Jay Earley's algorithm for parsing context free grammars, and comes with some generic Abstract Syntax Tree routines. There is also a prototype scanner which does its job by combining Python regular expressions.

(SPARK stands for Scanning, Parsing, and Rewriting Kit. It is a poor name since it conflicts with a more popular package of the same name. In the future we will rename this.)

The original version of this was written by John Aycock for his Ph.D thesis and was described in his 1998 paper: "Compiling Little Languages in Python" at the 7th International Python Conference. The current incarnation of this code is maintained (or not) by Rocky Bernstein.

Note: Earley algorithm parsers are almost linear when given an LR grammar. These are grammars which are left-recursive.

In the other systems

SystemPortVersion
FreeBSDdevel/py-spark-parser1.9.0
OpenBSDdevel/py-spark-parser1.9.0p0
DragonFlydevel/py-spark-parser1.9.0

Install

Binary package:

pkg install py312-spark-parser

From the ports tree:

cd /usr/ports/devel/py-spark-parser/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-spark-parser>0:devel/py-spark-parser

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:latest1.9.01.9.0-1.9.01.9.0
FreeBSD:14:quarterly1.9.01.9.0n/a1.9.01.9.0
FreeBSD:15:latest1.9.01.9.0n/a1.9.01.9.0
FreeBSD:15:quarterly1.9.01.9.0n/an/an/a
FreeBSD:16:latest1.9.01.9.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 8
Required by 1

Configuration

No options to configure.

USES
python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
spark_parser-1.9.0.tar.gz80108dc66d48c4265c4133db41a9c5fe9c1c502b3b20167df158a0f234cd31712cf64
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.