[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 85/99: Handle more JavaScript binary operators
From: |
Christopher Allan Webber |
Subject: |
[Guile-commits] 85/99: Handle more JavaScript binary operators |
Date: |
Sun, 10 Oct 2021 21:51:11 -0400 (EDT) |
cwebber pushed a commit to branch compile-to-js-merge
in repository guile.
commit 4ef95dd74cc98d5accc3359cf22e0cae0037e367
Author: Ian Price <ianprice90@googlemail.com>
AuthorDate: Sun Aug 27 22:22:24 2017 +0100
Handle more JavaScript binary operators
* module/language/javascript.scm (print-binop): Handle `begin' &
`instanceof'
---
module/language/javascript.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/module/language/javascript.scm b/module/language/javascript.scm
index 4a49435..1e9e660 100644
--- a/module/language/javascript.scm
+++ b/module/language/javascript.scm
@@ -179,7 +179,8 @@
((or) (display "||" port))
((and) (display "&&" port))
((=) (display "==" port))
- ((+ - < <= > >= ===) (format port "~a" op))
+ ((begin) (display "," port))
+ ((+ - < <= > >= === instanceof) (format port "~a" op))
(else
(throw 'unprintable-binop op))))
- [Guile-commits] 68/99: struct-set! primitive returns no values, (continued)
- [Guile-commits] 68/99: struct-set! primitive returns no values, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 71/99: modules should be passed current continuation, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 79/99: Implement list builtins, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 80/99: *features* is an empty list, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 84/99: Add assignment js-type to (language javascript), Christopher Allan Webber, 2021/10/10
- [Guile-commits] 87/99: Create stub module forms for dependecies, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 97/99: Switch use of $closure to $const-fun, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 22/99: Add more Scheme Primitives to runtime.js, Christopher Allan Webber, 2021/10/10
- [Guile-commits] 32/99: Rewrite js-il inliner, Christopher Allan Webber, 2021/10/10
- [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 <=
- [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, 2021/10/10
- [Guile-commits] 89/99: extra-dependencies go before boot-dependencies, Christopher Allan Webber, 2021/10/10