1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-14 15:40:19 +02:00

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.
This commit is contained in:
Andy Wingo 2009-02-21 00:31:43 +01:00
parent b358fe6502
commit 3bef3ae428
3 changed files with 83 additions and 11 deletions

View file

@ -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