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:
parent
b358fe6502
commit
3bef3ae428
3 changed files with 83 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue