Date: Fri, 22 Feb 2019 19:54:02 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493587 - in head/devel: . py-lark-parser Message-ID: <201902221954.x1MJs2Ae082693@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Feb 22 19:54:01 2019 New Revision: 493587 URL: https://svnweb.freebsd.org/changeset/ports/493587 Log: Add py-lark-parser 0.6.6 Lark can parse any context-free grammar, FAST and EASY! For beginners, Lark is not just another parser. It can parse any grammar you throw at it, no matter how complicated or ambiguous, and do so efficiently. It also constructs a parse-tree for you, without additional code on your part. For Experts, Lark lets you choose between Earley and LALR(1), to trade-off power and speed. It also contains a CYK parser and unique features such as a contextual-lexer. Lark can: - Parse all context-free grammars, and handle any ambiguity - Build a parse-tree automagically, no construction code required - Outperform all other Python libraries when using LALR(1) (Yes, including PLY) - 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 Added: head/devel/py-lark-parser/ head/devel/py-lark-parser/Makefile (contents, props changed) head/devel/py-lark-parser/distinfo (contents, props changed) head/devel/py-lark-parser/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Feb 22 19:52:41 2019 (r493586) +++ head/devel/Makefile Fri Feb 22 19:54:01 2019 (r493587) @@ -4745,6 +4745,7 @@ SUBDIR += py-kjbuckets SUBDIR += py-knack SUBDIR += py-kqueue + SUBDIR += py-lark-parser SUBDIR += py-lazr.config SUBDIR += py-lazr.delegates SUBDIR += py-lazy Added: head/devel/py-lark-parser/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-lark-parser/Makefile Fri Feb 22 19:54:01 2019 (r493587) @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= lark-parser +PORTVERSION= 0.6.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Modern parsing library for Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/py-lark-parser/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-lark-parser/distinfo Fri Feb 22 19:54:01 2019 (r493587) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550813380 +SHA256 (lark-parser-0.6.6.tar.gz) = 43d623edae6f16db038d29f8586406002f2bea63c0363dc9acbedac27de7040e +SIZE (lark-parser-0.6.6.tar.gz) = 260348 Added: head/devel/py-lark-parser/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-lark-parser/pkg-descr Fri Feb 22 19:54:01 2019 (r493587) @@ -0,0 +1,22 @@ +Lark can parse any context-free grammar, FAST and EASY! + +For beginners, Lark is not just another parser. It can parse any grammar you +throw at it, no matter how complicated or ambiguous, and do so efficiently. It +also constructs a parse-tree for you, without additional code on your part. + +For Experts, Lark lets you choose between Earley and LALR(1), to trade-off power +and speed. It also contains a CYK parser and unique features such as a +contextual-lexer. + +Lark can: +- Parse all context-free grammars, and handle any ambiguity +- Build a parse-tree automagically, no construction code required +- Outperform all other Python libraries when using LALR(1) (Yes, including PLY) +- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902221954.x1MJs2Ae082693>