Port details on branch 2022Q2 |
- py-lark Modern parsing library
- 1.1.9 devel =0 1.1.8Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-06-09 23:36:04
- Last Update: 2024-02-21 15:07:25
- Commit Hash: 96b8bcd
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/lark-parser/lark
- Description:
- ark is a parsing toolkit for Python, built with a focus on ergonomics,
performance and modularity.
Lark can parse all context-free languages. To put it simply, it means that it is
capable of parsing almost any programming language out there, and to some degree
most natural languages too.
What can it do?
- Parse all context-free grammars, and handle any ambiguity gracefully
- Build an annotated parse-tree automagically, no construction code required.
- Provide first-rate performance in terms of both Big-O complexity and measured
run-time (considering that this is Python ;)
- Run on every Python interpreter (it's pure-python)
- Generate a stand-alone parser (for LALR(1) grammars)
- And many more features. Read ahead and find out!
Most importantly, Lark will save you time and prevent you from getting parsing
headaches.
- ¦ ¦ ¦ ¦
- 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}lark>0:devel/py-lark@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-lark/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-lark
- pkg install py39-lark
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 py39-lark listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-lark
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1708449210
SHA256 (lark-1.1.9.tar.gz) = 15fa5236490824c2c4aba0e22d2d6d823575dcaf4cdd1848e34b6ad836240fba
SIZE (lark-1.1.9.tar.gz) = 255451
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=61.2.0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-atomicwrites>=0 : devel/py-atomicwrites@py39
- py39-interegular>=0.3.1<0.4.0 : textproc/py-interegular@py39
- py39-regex>=0 : textproc/py-regex@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-dataclass-array
- devel/py-hypothesis
- devel/py-pyquil
- devel/py-tartiflette
- textproc/py-RTFDE
- textproc/py-unicodeitplus
- textproc/py-xlmmacrodeobfuscator
Configuration Options:
- ===> The following configuration options are available for py39-lark-1.1.9:
ATOMIC_CACHE=on: Multiprocess caching and crash recovery support
INTEREGULAR=on: Check regex collisions
NEARLEY=off: Import grammars from Nearley.js
REGEX=on: Use third-party regex instead of standard library re
===> Use 'make config' to modify these settings
- Options name:
- devel_py-lark
- USES:
- dos2unix python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|