[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 88/99: read argument to --depends switch
From: |
Christopher Allan Webber |
Subject: |
[Guile-commits] 88/99: read argument to --depends switch |
Date: |
Sun, 10 Oct 2021 21:51:12 -0400 (EDT) |
cwebber pushed a commit to branch compile-to-js-merge
in repository guile.
commit 37369c0cb09afce58283a2f11bb87800cfc7ed29
Author: Ian Price <ianprice90@googlemail.com>
AuthorDate: Mon Aug 28 13:47:30 2017 +0100
read argument to --depends switch
* module/scripts/jslink.scm: Need to use `read' on --depends switch to
pass a pair.
---
module/scripts/jslink.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/module/scripts/jslink.scm b/module/scripts/jslink.scm
index d5cdcef..0152315 100644
--- a/module/scripts/jslink.scm
+++ b/module/scripts/jslink.scm
@@ -53,8 +53,10 @@
(option '(#\d "depends") #t #f
(lambda (opt name arg result)
+ (define (read-from-string s)
+ (call-with-input-string s read))
(let ((depends (assoc-ref result 'depends)))
- (alist-cons 'depends (cons arg depends)
+ (alist-cons 'depends (cons (read-from-string arg) depends)
result))))
(option '("no-boot") #f #f
- [Guile-commits] 82/99: pop-fluid uses field of frame not fluid, (continued)
- [Guile-commits] 82/99: pop-fluid uses field of frame not fluid, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 85/99: Handle more JavaScript binary operators, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 86/99: Keywords cannot be both keyword and optional, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 91/99: Update Copyright Headers, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 94/99: Add compiler-chooser for CPS spec, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 96/99: Fix cps's choose-compiler to be able to compile javascript, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 98/99: Merge branch 'main' into compile-to-js-merge, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 78/99: Implement Hook Builtins, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 81/99: Argument to make-fluid is optional, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 83/99: Implement variable-bound? builtin, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 88/99: read argument to --depends switch,
Christopher Allan Webber <=
- [Guile-commits] 89/99: extra-dependencies go before boot-dependencies, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 90/99: Mention all arguments to guild jslink in --help, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 92/99: Merge branch 'compile-to-js-2017' into compile-to-js-rebase, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 99/99: Compile cps to bytecode by default, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 24/99: Primitives create multiple argument continuations., Christopher Allan Webber, 2021/10/10
- [Guile-commits] 14/99: Add binop type, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 53/99: Implement Winding & Unwinding, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 63/99: Implement hashtable built-ins, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 66/99: Implement misc built-ins, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 61/99: define! primitive only takes one argument., Christopher Allan Webber, 2021/10/10