devel/py-lark 1.3.1 FreeBSD
Modern parsing library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 259.9 KiB, 1284.4 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-lark | 1.3.1 |
| DragonFly | devel/py-lark | 1.2.2 |
| MidnightBSD | devel/py-lark | 1.1.9_1 |
Install
Binary package:
pkg install py312-lark
From the ports tree:
cd /usr/ports/devel/py-lark/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-lark>0:devel/py-lark
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 | 1.3.1 | 1.3.1 | 1.1.4 | 1.2.2_1 | 1.3.1 |
| FreeBSD:14:quarterly | 1.3.1 | 1.3.1 | n/a | 1.2.2_1 | 1.3.1 |
| FreeBSD:15:latest | 1.3.1 | 1.3.1 | n/a | 1.2.2_1 | 1.2.2_1 |
| FreeBSD:15:quarterly | 1.3.1 | 1.3.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.1 | 1.3.1 | 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 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61.2.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=9.2.2: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 9
Required by 81
- astro/py-pytest-astropy
- biology/py-hits
- cad/freecad-devel
- cad/py-pymtl
- cad/py-verilog-parser
- comms/chirp
- comms/py-pyocd
- comms/py-pyocd-pemicro
- comms/py-spsdk
- devel/py-anywidget
- devel/py-cel-python
- devel/py-commentjson
- devel/py-dataclass-array
- devel/py-hypothesis
- devel/py-hypothesmith
- devel/py-ipydatawidgets
- devel/py-ipympl
- devel/py-ipyparallel
- devel/py-ipywidgets
- devel/py-jupyter
- devel/py-jupyter-collaboration
- devel/py-jupyter-events
- devel/py-jupyter-kernel-gateway
- devel/py-jupyter-lsp
- devel/py-jupyter-rfb
- devel/py-jupyter-server
- devel/py-jupyter-server-fileid
- devel/py-jupyter-server-mathjax
- devel/py-jupyter-server-ydoc
- devel/py-jupyterlab
- devel/py-jupyterlab-lsp
- devel/py-jupyterlab-server
- devel/py-jupyterlab-widgets
- devel/py-jupyterlab_launcher
- devel/py-nbclassic
- devel/py-nbdime
- devel/py-notebook-shim
- devel/py-pyquil
- devel/py-pytest-jupyter
- devel/py-tartiflette
- devel/py-tartiflette-aiohttp
- graphics/py-agx-emulsion
- graphics/py-olmocr
- graphics/py-pydeck
- math/mathicsscript
- math/py-CyLP
- math/py-mathics
- math/py-pyodesys
- misc/py-crewai
- misc/py-crewai-tools
- misc/py-ipyfastscape
- misc/py-napari
- misc/py-pytorch
- misc/py-pyviz-comms
- misc/py-vllm
- net-mgmt/py-ciscoconfparse2
- science/meep
- science/psi4
- science/py-HofstadterTools
- science/py-MDAnalysisTests
- science/py-chempy
- science/py-ipygany
- science/py-jupyter_jsmol
- science/py-nglview
- science/py-optking
- science/py-qcelemental
- science/py-qcengine
- science/py-qcmanybody
- security/cowrie
- textproc/py-jupyter_sphinx
- textproc/py-textdistance
- textproc/py-unicodeitplus
- textproc/py-xlmmacrodeobfuscator
- textproc/quarto
- www/py-nicegui
- www/py-nicegui-highcharts
- www/py-nicegui-nogui
- www/py-nikola
- www/py-notebook
- www/py-rfc3987-syntax
- x11-toolkits/py-magicgui
Configuration
Options name: devel_lark
| Option | Default | Description |
|---|---|---|
| INTEREGULAR | on | Check regex collisions |
| NEARLEY | off | Import grammars from Nearley.js |
| REGEX | on | Use third-party regex instead of standard library re |
- USES
- dos2unix python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lark-1.3.1.tar.gz | 382732 | b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.