summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-02-14 23:59:19 +0900
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-26 06:35:28 +0100
commit49cd82fb378aaaa5475a6a478e9f1e2f7fa55da3 (patch)
treed0295ac179902fe16bb51f753b0ac3e009dec6d6
parentb8a892a2be8c2a0e775311954c5efd69e65c8793 (diff)
gnu: Add python-speedy-antlr-tool.
* gnu/packages/python-xyz.scm (python-speedy-antlr-tool): New variable. Change-Id: Ia88462b4c20ed8dc7053bd3f47394a586236ab0f Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 47636767d14..722a6c9c5d7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35830,6 +35830,31 @@ instance in spelling correction, predictive typing, to help disabled people
write text fast, and for various text generation, statistics, and modeling tasks.")
(license license:expat)))
+(define-public python-speedy-antlr-tool
+ (package
+ (name "python-speedy-antlr-tool")
+ (version "1.4.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/amykyta3/speedy-antlr-tool")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bj67n3f6admjc7mfgnksb35s983inw2mh27d7wfp1xf697h0yp3"))))
+ (build-system pyproject-build-system)
+ (arguments '(#:tests? #f)) ;no test
+ (native-inputs (list python-setuptools python-setuptools-scm))
+ (propagated-inputs (list python-antlr4-runtime python-jinja2))
+ (home-page "https://speedy-antlr-tool.readthedocs.io")
+ (synopsis "Generate ANTLR parser as Python extension module")
+ (description
+ "This tool generates a Python extension that runs your parser
+using ANTLR's C++ target, and then translates the parsed tree
+back into Python.")
+ (license license:bsd-3)))
+
(define-public python-speg
(package
(name "python-speg")