[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/29: gnu: Add parseq.
From: |
guix-commits |
Subject: |
18/29: gnu: Add parseq. |
Date: |
Thu, 30 Jun 2022 14:02:16 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit efe2efd72a465d8c966c0e49502fbdd3ae391674
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Thu Jun 30 17:55:49 2022 +0200
gnu: Add parseq.
* gnu/packages/lisp-xyz.scm (cl-parseq, ecl-parseq, sbcl-parseq): New
variables.
---
gnu/packages/lisp-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 6edbbeb7be..a9fd0ef889 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22082,3 +22082,43 @@ definition.")
(define-public ecl-slot-extra-options
(sbcl-package->ecl-package sbcl-slot-extra-options))
+
+(define-public sbcl-parseq
+ (package
+ (name "sbcl-parseq")
+ (version "0.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mrossini-ethz/parseq")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "cl-parseq" version))
+ (sha256
+ (base32 "0b4lnhwqdlaqccanyssdj2v0am2ygw6qr4543b49kz2rwirykw0w"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/mrossini-ethz/parseq")
+ (synopsis "Parsing expression grammars for sequences")
+ (description
+ "Parseq (pronounced parsec) is a parsing library for common lisp. It can
+be used for parsing lisp's sequences types: strings, vectors (e.g. binary
+data) and lists. Furthermore, parseq is able to parse nested structures such
+as trees (e.g. lists of lists, lists of vectors, vectors of strings).
+
+Parseq uses parsing expression grammars (PEG) that can be defined through a
+simple interface. Extensions to the standard parsing expressions are
+available. Parsing expressions can be parameterised and made context
+aware. Additionally, the definition of each parsing expression allows the
+arbitrary transformation of the parsing tree.
+
+The library is inspired by Esrap and uses a very similar interface. No code
+is shared between the two projects, however. The features of Esrap are are
+mostly included in parseq and complemented with additional, orthogonal
+features. Any resemblance to esrap-liquid is merely coincidental.")
+ (license license:gpl2)))
+
+(define-public cl-parseq
+ (sbcl-package->cl-source-package sbcl-parseq))
+
+(define-public ecl-parseq
+ (sbcl-package->ecl-package sbcl-parseq))
- branch master updated (d473d8ebdb -> eac290933f), guix-commits, 2022/06/30
- 04/29: gnu: Add screamer., guix-commits, 2022/06/30
- 06/29: gnu: sbcl-cl-reexport: Update to 20210219., guix-commits, 2022/06/30
- 08/29: gnu: Add filtered-functions., guix-commits, 2022/06/30
- 10/29: gnu: Add dynamic-mixins., guix-commits, 2022/06/30
- 18/29: gnu: Add parseq.,
guix-commits <=
- 05/29: gnu: Add clache., guix-commits, 2022/06/30
- 07/29: gnu: Add cl-definitions., guix-commits, 2022/06/30
- 09/29: gnu: Add defstar., guix-commits, 2022/06/30
- 19/29: gnu: Add physical-quantities., guix-commits, 2022/06/30
- 24/29: gnu: Add glkit., guix-commits, 2022/06/30
- 01/29: gnu: Add utils-kt., guix-commits, 2022/06/30
- 02/29: gnu: Add cells., guix-commits, 2022/06/30
- 12/29: gnu: Add fast-generic-functions., guix-commits, 2022/06/30
- 14/29: gnu: Add ctype., guix-commits, 2022/06/30
- 25/29: gnu: Add cl-trees., guix-commits, 2022/06/30