guix-commits
[Top][All Lists]
Advanced

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

11/26: gnu: Add esrap.


From: Pierre Neidhardt
Subject: 11/26: gnu: Add esrap.
Date: Fri, 24 Aug 2018 09:14:05 -0400 (EDT)

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

commit 1bfae4154796681e6480dc83a8b337e6404538cc
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 cb59b81..40c9603 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1732,3 +1732,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]