[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/67: gnu: Add pythonic-string-reader.
From: |
Pierre Neidhardt |
Subject: |
21/67: gnu: Add pythonic-string-reader. |
Date: |
Wed, 17 Oct 2018 04:20:15 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser2
in repository guix.
commit c0aae838ca95ecd78fdc1001e7e34bd1c15171d1
Author: Pierre Neidhardt <address@hidden>
Date: Fri Aug 24 12:35:50 2018 +0200
gnu: Add pythonic-string-reader.
* gnu/packages/lisp.scm (cl-pythonic-string-reader,
ecl-pythonic-string-reader, sbcl-pythonic-string-reader): New variables.
---
gnu/packages/lisp.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 2bbd07e..b0d5892 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2176,3 +2176,34 @@ named readtables, which is akin to package namespacing
in Common Lisp.")
(define-public ecl-named-readtables
(sbcl-package->ecl-package sbcl-named-readtables))
+
+(define-public sbcl-pythonic-string-reader
+ (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
+ (package
+ (name "sbcl-pythonic-string-reader")
+ (version (git-version "0.0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/smithzvk/pythonic-string-reader/")
+ (commit commit)))
+ (sha256
+ (base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
+ (file-name (git-file-name "pythonic-string-reader" version))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("named-readtables" ,sbcl-named-readtables)))
+ (home-page "https://github.com/smithzvk/pythonic-string-reader")
+ (synopsis "Read table modification inspired by Python's three quote
strings")
+ (description "This piece of code sets up some reader macros that make it
+simpler to input string literals which contain backslashes and double quotes
+This is very useful for writing complicated docstrings and, as it turns out,
+writing code that contains string literals that contain code themselves.")
+ (license license:bsd-3))))
+
+(define-public cl-pythonic-string-reader
+ (sbcl-package->cl-source-package sbcl-pythonic-string-reader))
+
+(define-public ecl-pythonic-string-reader
+ (sbcl-package->ecl-package sbcl-pythonic-string-reader))
- 12/67: gnu: Add html-encode., (continued)
- 12/67: gnu: Add html-encode., Pierre Neidhardt, 2018/10/17
- 10/67: gnu: Add esrap., Pierre Neidhardt, 2018/10/17
- 19/67: gnu: Add ironclad., Pierre Neidhardt, 2018/10/17
- 18/67: gnu: Add nibbles., Pierre Neidhardt, 2018/10/17
- 01/67: gnu: Add cl-strings., Pierre Neidhardt, 2018/10/17
- 20/67: gnu: Add named-readtables., Pierre Neidhardt, 2018/10/17
- 14/67: gnu: Add 3bmd., Pierre Neidhardt, 2018/10/17
- 24/67: gnu: Add cl-string-match., Pierre Neidhardt, 2018/10/17
- 23/67: gnu: Add ascii-strings., Pierre Neidhardt, 2018/10/17
- 22/67: gnu: Add mgl-pax., Pierre Neidhardt, 2018/10/17
- 21/67: gnu: Add pythonic-string-reader.,
Pierre Neidhardt <=
- 28/67: gnu: Add lisp-unit., Pierre Neidhardt, 2018/10/17
- 27/67: slime-swank (FIX), Pierre Neidhardt, 2018/10/17
- 26/67: gnu: Add sbcl-slime-swank., Pierre Neidhardt, 2018/10/17
- 34/67: gnu: Add prove-asdf., Pierre Neidhardt, 2018/10/17
- 29/67: gnu: Add anaphora., Pierre Neidhardt, 2018/10/17
- 33/67: gnu: Add cl-ansi-text., Pierre Neidhardt, 2018/10/17
- 30/67: gnu: Add lift., Pierre Neidhardt, 2018/10/17
- 25/67: mgl-pax (FIX), Pierre Neidhardt, 2018/10/17
- 32/67: gnu: Add cl-colors., Pierre Neidhardt, 2018/10/17
- 31/67: gnu: Add let-plus., Pierre Neidhardt, 2018/10/17