-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aba29b
commit 3794377
Showing
10 changed files
with
139 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(asdf:defsystem #:lqn | ||
:description "Lisp Query Notation" | ||
:version "1.11.0" | ||
:version "1.12.0" | ||
:author "anders hoff / @inconvergent / [email protected]" | ||
:in-order-to ((asdf:test-op (asdf:test-op #:lqn/tests))) | ||
:licence "MIT" :pathname "src/" :serial nil | ||
|
@@ -13,11 +13,13 @@ | |
(:file "io" :depends-on ("docs")) | ||
(:file "pre-qry" :depends-on ("io" "qry-utils" "docs")) | ||
(:file "qry" :depends-on ("pre-qry")) | ||
(:file "sh" :depends-on ("qry")))) | ||
(:file "sh" :depends-on ("qry")) | ||
(:file "qry-extra" :depends-on ("qry")) | ||
)) | ||
|
||
(asdf:defsystem #:lqn/tests | ||
:depends-on (#:lqn #:prove #:uiop #:asdf) | ||
:version "1.11.0" | ||
:version "1.12.0" | ||
:perform (asdf:test-op (o s) (uiop:symbol-call ':lqn-tests '#:run-tests)) | ||
:pathname "test/" :serial t | ||
:components ((:file "run"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
(in-package :lqn) | ||
|
||
(defun dat-read-files (path-or-seq) | ||
(declare ((or string list vector) path-or-seq)) | ||
"read lisp code from these paths (via lqn:ls) or read this list of files as one large vector." | ||
(etypecase path-or-seq | ||
(string (qry (ls path-or-seq) #((dat-read-file _)) (flatn* _))) | ||
(sequence (qry path-or-seq #((dat-read-file _)) (flatn* _))))) |