1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 15:40:38 +02:00
guile/module/language/ecmascript
Andy Wingo 131f7d6c71 further ecmascript work
* libguile/vm-i-system.c (drop, return): Declare drop and return as
  popping one arg from the stack.

* module/language/ghil/compile-glil.scm:
* module/language/glil/compile-assembly.scm (make-meta): Adjust so that
  we declare 'drop and 'return calls as popping one arg from the stack.

* module/language/ecmascript/compile-ghil.scm (comp, comp-body): Flesh
  out a bit more. Most significantly, scoping within functions obeys
  javascript semantics better, modulo bits about with() forms.

* module/language/ecmascript/impl.scm: Define some runtime helper
  routines.
* module/language/Makefile.am (SOURCES): Add impl.scm.

* module/language/ecmascript/parse.scm (parse-ecmascript): Minor tweaks.

* module/language/ecmascript/tokenize.scm (read-identifier): Identifiers
  now read as symbols, not strings.
2009-02-19 13:55:55 +01:00
..
compile-ghil.scm further ecmascript work 2009-02-19 13:55:55 +01:00
impl.scm further ecmascript work 2009-02-19 13:55:55 +01:00
parse-lalr.scm add ecmascript parser 2009-02-18 00:07:51 +01:00
parse.scm further ecmascript work 2009-02-19 13:55:55 +01:00
spec.scm world's stupidest ecmascript compiler 2009-02-18 00:49:21 +01:00
tokenize.scm further ecmascript work 2009-02-19 13:55:55 +01:00