guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/67: gnu: Add esrap.


From: Pierre Neidhardt
Subject: 10/67: gnu: Add esrap.
Date: Wed, 17 Oct 2018 04:20:13 -0400 (EDT)

ambrevar pushed a commit to branch wip-next-browser2
in repository guix.

commit f967725f1b89f2fc45d8c5dd183ba85d7f9e4c4c
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Aug 24 11:44:11 2018 +0200

    gnu: Add esrap.
    
    * gnu/packages/lisp.scm (cl-esrap, ecl-esrap, sbcl-esrap): New variables.
---
 gnu/packages/lisp.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 5d304b3..8d947d5 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1816,3 +1816,43 @@ that of Eos has not.  Thus, Eos is now deprecated in 
favor of FiveAM.")
 
 (define-public ecl-eos
   (sbcl-package->ecl-package sbcl-eos))
+
+(define-public sbcl-esrap
+  (let ((commit "133be8b05c2aae48696fe5b739eea2fa573fa48d"))
+    (package
+      (name "sbcl-esrap")
+      (version (git-version "0.0.0" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/nikodemus/esrap";)
+               (commit commit)))
+         (sha256
+          (base32
+           "02d5clihsdryhf7pix8c5di2571fdsffh75d40fkzhws90r5mksl"))
+         (file-name (git-file-name "esrap" version))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       `(("eos" ,sbcl-eos)))            ;For testing only.
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)))
+      (synopsis "Common Lisp packrat parser")
+      (description
+       "A packrat parser for Common Lisp.
+In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP 
supports:
+
address@hidden
address@hidden dynamic redefinition of nonterminals
address@hidden inline grammars
address@hidden semantic predicates
address@hidden introspective facilities (describing grammars, tracing, setting 
breaks)
address@hidden itemize\n")
+      (home-page "https://nikodemus.github.io/esrap/";)
+      (license license:expat))))
+
+(define-public cl-esrap
+  (sbcl-package->cl-source-package sbcl-esrap))
+
+(define-public ecl-esrap
+  (sbcl-package->ecl-package sbcl-esrap))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]