unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Grigory Shepelev <shegeley@gmail.com>
To: 66422@debbugs.gnu.org
Subject: [bug#66422] «Joe R Marshall's Syntax-Rules Primer for the Merely Eccentric» package
Date: Mon, 9 Oct 2023 17:25:28 +0300	[thread overview]
Message-ID: <CAGJuR-4V2ZGd_vYinU6O6Air9_qvsLbU_yF-iW_orksa=oSK1w@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 134 bytes --]

Hi
Texinfo-ed «Joe R Marshall's Syntax-Rules Primer for the Merely Eccentric»
and packed it into guix right after `sicp` package

[-- Attachment #1.2: Type: text/html, Size: 182 bytes --]

[-- Attachment #2: jrm.patch --]
[-- Type: text/x-patch, Size: 1916 bytes --]

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index ad06d7db06..cdb56efb95 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -658,6 +658,38 @@ (define-public sicp
 metalinguistic abstraction, recursion, interpreters, and modular programming.")
       (license cc-by-sa4.0))))
 
+(define-public jrm-syntax-rules
+  (let [(commit "6968df3ebc6de4cf8d41aa7b6adc400a11937b86")
+        (hash "1l8221q1zw66yb47dcqbbnj3dbsl6slvnivaqc731hs848apwffr")
+        (revision "1")]
+    (package
+      (name "jrm-syntax-rules")
+      (version "1.0.0")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/shegeley/jrm-syntax-rules")
+                      (commit commit)))
+                (sha256 (base32 hash))
+                (file-name (git-file-name name version))))
+      (build-system copy-build-system)
+      (native-inputs (list gzip texinfo))
+      (arguments
+       (list #:install-plan ''(("jrm-syntax-rules.info" "share/info/"))
+             #:phases #~(modify-phases
+                            %standard-phases
+                          (add-before
+                              'install 'build
+                            (lambda _
+                              (invoke "makeinfo"
+                                      "--output=jrm-syntax-rules.info"
+                                      "doc.texi"))))))
+      (home-page "https://github.com/shegeley/jrm-syntax-rules")
+      (synopsis "JRM’s Syntax-rules Primer for the Merely Eccentric")
+      (description "Tutorial for syntax-rules system in R5RS standard.")
+      ;; NOTE: coudn't find any info on licensing. seems like public domain. fix me if I'm wrong
+      (license public-domain))))
+
 (define-public scheme48-rx
   (let* ((commit "dd9037f6f9ea01019390614f6b126b7dd293798d")
          (revision "2"))

             reply	other threads:[~2023-10-09 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-09 14:25 Grigory Shepelev [this message]
2023-10-12 11:58 ` [bug#66422] «Joe R Marshall's Syntax-Rules Primer for the Merely Eccentric» package Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGJuR-4V2ZGd_vYinU6O6Air9_qvsLbU_yF-iW_orksa=oSK1w@mail.gmail.com' \
    --to=shegeley@gmail.com \
    --cc=66422@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).