BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-lark1.3.1
DragonFlydevel/py-lark1.2.2
MidnightBSDdevel/py-lark1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.11.3.11.1.41.2.2_11.3.1
FreeBSD:14:quarterly1.3.11.3.1n/a1.2.2_11.3.1
FreeBSD:15:latest1.3.11.3.1n/a1.2.2_11.2.2_1
FreeBSD:15:quarterly1.3.11.3.1n/an/an/a
FreeBSD:16:latest1.3.11.3.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

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

Build dependencies 17
Run dependencies 9
Required by 81

Configuration

Options name: devel_lark

OptionDefaultDescription
INTEREGULARonCheck regex collisions
NEARLEYoffImport grammars from Nearley.js
REGEXonUse third-party regex instead of standard library re
USES
dos2unix python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
lark-1.3.1.tar.gz382732b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.