notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-spark-parser Earley-Algorithm Context-free grammar Parser Toolkit
1.8.9 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-08-04 17:24:27
Last Update: 2024-08-04 17:13:51
Commit Hash: 4bf4bfe
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
https://github.com/rocky/python-spark
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}spark-parser>0:devel/py-spark-parser@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-spark-parser/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-spark-parser
  • pkg install py311-spark-parser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-spark-parser listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-spark-parser
Package flavors (<flavor>: <package>)
  • py311: py311-spark-parser
distinfo:
TIMESTAMP = 1722711123 SHA256 (spark_parser-1.8.9.tar.gz) = a7bb97b97953fb8bf0cd8158d820b6467ef1e7f747738e82248ae4c824f1e25a SIZE (spark_parser-1.8.9.tar.gz) = 118345

Packages (timestamps in pop-ups are UTC):
py311-spark-parser
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.8.91.8.9-1.8.91.8.9---
FreeBSD:13:quarterly--------
FreeBSD:14:latest1.8.91.8.9-1.8.91.8.9---
FreeBSD:14:quarterly--------
FreeBSD:15:latest1.8.91.8.9n/a1.8.9n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-click>=0 : devel/py-click@py311
  2. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-spark-parser
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/spark_parser/
  2. https://pypi.org/packages/source/s/spark_parser/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.8.9
04 Aug 2024 17:13:51
commit hash: 4bf4bfecb807d7b0507137edc8550df1de6bebd4commit hash: 4bf4bfecb807d7b0507137edc8550df1de6bebd4commit hash: 4bf4bfecb807d7b0507137edc8550df1de6bebd4commit hash: 4bf4bfecb807d7b0507137edc8550df1de6bebd4 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-spark-parser: Add py-spark-parser 1.8.9

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.

Number of commits found: 1