guix-commits
[Top][All Lists]
Advanced

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

04/210: gnu: Add nyacc-boot.


From: Jan Nieuwenhuizen
Subject: 04/210: gnu: Add nyacc-boot.
Date: Sat, 8 Sep 2018 10:35:56 -0400 (EDT)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 3aafdc45810291b37e664efacb17650e1de1a5d7
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Wed Nov 22 14:18:48 2017 +0100

    gnu: Add nyacc-boot.
    
    * gnu/packages/mes.scm (nyacc-boot): New variable.
---
 gnu/packages/mes.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index 5015a94..7752d2e 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -300,6 +300,33 @@ Guile-] Scheme interpreter prototype in C and a 
Nyacc-based C compiler in
       (home-page "https://gitlab.com/janneke/mes";)
       (license gpl3+))))
 
+(define-public nyacc-boot
+  (let ((version "0.82.4")
+        (revision "0")
+        (commit "44241a79da8e5fd85e197dbc7a6e666e7303427c"))
+    (package
+      (name "nyacc")
+      (version (string-append version "-" revision "." (string-take commit 7)))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://gitlab.com/janneke/nyacc";
+                                    "/repository/archive.tar.gz?ref="
+                                    commit))
+                (file-name (string-append name "-" version ".tar.xz"))
+                (sha256
+                 (base32
+                  "05accf30kq0g6hpr5568n2yifshrxvq97hq0z004zlrffcw85g7j"))))
+      (build-system gnu-build-system)
+      (native-inputs
+       `(("guile" ,guile-2.2)))
+      (synopsis "LALR(1) Parser Generator in Guile")
+      (description
+       "NYACC is an LALR(1) parser generator implemented in Guile.
+The syntax and nomenclature should be considered not stable.  It comes with
+extensive examples, including parsers for the Javascript and C99 languages.")
+      (home-page "https://savannah.nongnu.org/projects/nyacc";)
+      (license (list gpl3+ lgpl3+)))))
+
 ;;;
 
 (define-public nyacc



reply via email to

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