devel/py-simpleparse 2.2.4_2 FreeBSD
Python EBNF parser generator (with mx.TextTools derivative)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
1db8a0a12a- Categories
- devel, python
- Package size
- 204.2 KiB, 1043.3 KiB installed
Description
SimpleParse is a BSD-licensed Python package providing a simple and fast parser generator using a modified version of the mxTextTools text-tagging engine. SimpleParse allows you to generate parsers directly from your EBNF grammar.
Unlike most parser generators, SimpleParse generates single-pass parsers (there is no distinct tokenization stage), an approach taken from the predecessor project (mcf.pars) which attempted to create "autonomously parsing regex objects". The resulting parsers are not as generalized as those created by, for instance, the Earley algorithm, but they do tend to be useful for the parsing of computer file formats and the like (as distinct from natural language and similar "hard" parsing problems).
As of version 2.1.0 the SimpleParse project includes a patched copy of the mxTextTools tagging library with the non-recursive rewrite of the core parsing loop. This means that you will need to build the extension module to use SimpleParse, but the effect is to provide a uniform parsing platform where all of the features of a give SimpleParse version are always available.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-simpleparse | 2.2.4_2 |
| DragonFly | devel/py-simpleparse | 2.2.4_1 |
Install
Binary package:
pkg install py312-simpleparse
From the ports tree:
cd /usr/ports/devel/py-simpleparse/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-simpleparse>0:devel/py-simpleparse
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 | 2.2.4_2 | 2.2.4_2 | 2.2.2 | 2.2.4_1 | 2.2.4_2 |
| FreeBSD:14:quarterly | 2.2.4_2 | 2.2.4_2 | n/a | 2.2.4_1 | 2.2.4_2 |
| FreeBSD:15:latest | 2.2.4_2 | 2.2.4_2 | n/a | 2.2.4_1 | 2.2.4_1 |
| FreeBSD:15:quarterly | 2.2.4_2 | 2.2.4_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2.4_2 | 2.2.4_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 6
| File | Size | SHA256 |
|---|---|---|
| SimpleParse-2.2.4.tar.gz | 186285 | 892b2ef7cd182bef9197d9d47622978a7ff63e488bc1296e842a7f1f2d76fea6 |
| 51c058731d7faedcef29d9e0e86e1f8e97f855b6.patch | 7074 | 700f45dd501d49800e774133f09def7c03bb2e9d4fb7080bab70e9827d0fd630 |
| 3416c19053801e41eebdf108d1a60a41593ab5fb.patch | 58790 | 64ce1f11c36c612e0401057606ab12b06c1b8421b71041779999f9729ffd00e1 |
| 83c8b6f9f9130d114b2c9cf3ce432b989b1a65cc.patch | 41969 | ea1990882096130740ccab34496b855581324a74674153c63831030f9a5b0d2f |
| daa2638479e5484b759fdbfa1f62f965516d1415.patch | 89592 | 82309eddfa671f535b672d420b62393d8adf356e45c1981394351df1397f49a0 |
| 797d53c827d184496a7eac815bc137bd15e068c8.patch | 19458 | 5d8118108e057dfac1cfa239140fcffd62cff7d87ad2d24934db8f5dc9602a03 |
Master sites 1
- PYPI