Port details |
- py-lark Modern parsing library
- 1.2.2 devel
=2 1.1.9Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2022-06-09 23:36:04
- Last Update: 2025-02-20 07:59:03
- Commit Hash: 915f07b
- 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/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 py311-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 py311-lark listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-lark
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1739962462
SHA256 (lark-1.2.2.tar.gz) = ca807d0162cd16cef15a8feecb862d7319e7a09bdb13aef927968e45040fed80
SIZE (lark-1.2.2.tar.gz) = 252132
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:
-
- py311-setuptools>=61.2.0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-atomicwrites>=0 : devel/py-atomicwrites@py311
- py311-interegular>=0.3.1<0.4.0 : textproc/py-interegular@py311
- py311-regex>=0 : textproc/py-regex@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- comms/py-pyocd
- devel/py-commentjson
- devel/py-dataclass-array
- devel/py-hypothesis
- devel/py-pyquil
- devel/py-tartiflette
- textproc/py-RTFDE
Configuration Options:
- ===> The following configuration options are available for py311-lark-1.2.2:
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.2.2 20 Feb 2025 07:59:03
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.2.2
Changes: https://github.com/lark-parser/lark/releases |
1.1.9 21 Feb 2024 15:07:25
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.1.9
Changes: https://github.com/lark-parser/lark/releases |
1.1.8 01 Nov 2023 01:57:10
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.1.8
Changes: https://github.com/lark-parser/lark/releases |
1.1.7 16 Aug 2023 18:25:27
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.1.7
- Use USES=dos2unix to convert CRLF to LF
- Convert to USE_PYTHON=pep517
- Add INTEREGULAR option
Changes: https://github.com/lark-parser/lark/releases |
1.1.5 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.1.5 30 Jan 2023 12:59:50
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.1.5
Changes: https://github.com/lark-parser/lark/releases |
1.1.4 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.1.4 30 Dec 2022 09:04:41
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.1.4
Changes: https://github.com/lark-parser/lark/releases |
1.1.3 19 Nov 2022 08:12:01
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Update to 1.1.3
Changes: https://github.com/lark-parser/lark/releases |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.1.2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.1.2 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.1.2 09 Jun 2022 23:32:45
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-lark: Add py-lark 1.1.2
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.
WWW: https://github.com/lark-parser/lark |