summaryrefslogtreecommitdiff
path: root/module/language/ecmascript/impl.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-02-21 00:31:43 +0100
committerAndy Wingo <wingo@pobox.com>2009-02-21 00:33:04 +0100
commit3bef3ae42886d910c43655792ecd9cfdc73ba886 (patch)
treeb7245810a10a421a77b9cee0272cf7c1aeddd621 /module/language/ecmascript/impl.scm
parentb358fe65021a40fa80238d8f426f810d150acb08 (diff)
downloadguile-3bef3ae42886d910c43655792ecd9cfdc73ba886.tar.gz
implement do, while, for
* module/language/ecmascript/compile-ghil.scm (comp): Use ghil-bind when making temp vars, so that disassembly understands things. Implement do, while, and for. * module/language/ecmascript/parse.scm (parse-ecmascript): Some tweaks. * module/language/ecmascript/impl.scm (language): Export ->boolean.
Diffstat (limited to 'module/language/ecmascript/impl.scm')
-rw-r--r--module/language/ecmascript/impl.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/language/ecmascript/impl.scm b/module/language/ecmascript/impl.scm
index 9db92e3e4..d4b936c6c 100644
--- a/module/language/ecmascript/impl.scm
+++ b/module/language/ecmascript/impl.scm
@@ -26,9 +26,8 @@
#:use-module (language ecmascript array)
#:re-export (*undefined* *this* call/this*
pget pput pdel has-property?
- new-object
- new
- new-array)
+ ->boolean
+ new-object new new-array)
#:export (get-this
typeof
bitwise-not logical-not