[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: Add concrete-syntax-tree.
From: |
guix-commits |
Subject: |
03/11: gnu: Add concrete-syntax-tree. |
Date: |
Sun, 24 Jan 2021 05:45:34 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit bc14c6a400ce83eb0319ca989f7387a596fa40bd
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Sat Jan 23 16:16:18 2021 +0100
gnu: Add concrete-syntax-tree.
* gnu/packages/lisp-xyz.scm (cl-concrete-syntax-tree,
ecl-concrete-syntax-tree, sbcl-concrete-syntax-tree): New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ab1f191..3acc1ac 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13354,3 +13354,44 @@ source files.")
(define-public cl-indentify
(sbcl-package->cl-source-package sbcl-cl-indentify))
+
+(define-public sbcl-concrete-syntax-tree
+ (let ((commit "abd242a59dadc5452aa9dbc1d313c83ec2c11f46"))
+ (package
+ (name "sbcl-concrete-syntax-tree")
+ (version (git-version "0.0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/s-expressionists/Concrete-Syntax-Tree")
+ (commit commit)))
+ (file-name (git-file-name name commit))
+ (sha256
+ (base32 "1lyrglc3h1if44gxd9cwv90wa90nrdjvb7fry39b1xn8ywdfa7di"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("acclimation" ,sbcl-acclimation)))
+ (home-page "https://github.com/s-expressionists/Concrete-Syntax-Tree")
+ (synopsis "Parse Common Lisp code into a concrete syntax tree")
+ (description
+ "This library is intended to solve the problem of source tracking for
+Common Lisp code.
+
+By \"source tracking\", it is meant that code elements that have a known
+origin in the form of a position in a file or in an editor buffer are
+associated with some kind of information about this origin.
+
+Since the exact nature of such origin information depends on the Common Lisp
+implementation and the purpose of wanting to track that origin, the library
+does not impose a particular structure of this information. Instead, it
+provides utilities for manipulating source code in the form of what is called
+concrete syntax trees (CSTs for short) that preserve this information about
+the origin.")
+ (license license:bsd-2))))
+
+(define-public ecl-concrete-syntax-tree
+ (sbcl-package->ecl-package sbcl-concrete-syntax-tree))
+
+(define-public cl-concrete-syntax-tree
+ (sbcl-package->cl-source-package sbcl-concrete-syntax-tree))
- branch master updated (d94f753 -> dbbf67d), guix-commits, 2021/01/24
- 01/11: gnu: Add trivial-escapes., guix-commits, 2021/01/24
- 02/11: gnu: Add cl-indentify., guix-commits, 2021/01/24
- 09/11: gnu: Add trivial-do., guix-commits, 2021/01/24
- 07/11: gnu: Add language-codes., guix-commits, 2021/01/24
- 06/11: gnu: Add system-locale., guix-commits, 2021/01/24
- 08/11: gnu: Add multilang-documentation., guix-commits, 2021/01/24
- 05/11: gnu: Add jsown., guix-commits, 2021/01/24
- 10/11: gnu: Add common-lisp-jupyter., guix-commits, 2021/01/24
- 03/11: gnu: Add concrete-syntax-tree.,
guix-commits <=
- 04/11: gnu: Add eclector., guix-commits, 2021/01/24
- 11/11: gnu: emacs-evil-collection: Update to 20210124., guix-commits, 2021/01/24