1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00
guile/module
Andy Wingo 8c306808c2 + for strings, global js object, new Foo() works
* module/language/ecmascript/array.scm (*array-prototype*): Declare the
  constructor.

* module/language/ecmascript/base.scm (pput, pdel): Remove some needless
  checks.
  (new): Move definition of new here, and use the constructor.

* module/language/ecmascript/compile-ghil.scm (compile-ghil): Add a stub
  so that when we load a compiled JS program, we make sure the runtime
  has been booted.

* module/language/ecmascript/function.scm (js-constructor): Export a
  js-constructor method instead of a new method.

* module/language/ecmascript/impl.scm (<js-global-object>): Define a new
  class for the global "this" object, wrapping bindings from the current
  module.
  (init-js-bindings!): Define the dozen or so global properties, in the
  current module.
  (+): Define addition operations for non-numbers. This is efficient
  because the generics are only dispatched if the fast-path fails.
2009-02-22 10:51:49 +01:00
..
ice-9 Fix interpretation of `(ice-9 getopt-long)'. 2009-02-20 17:38:32 +01:00
language + for strings, global js object, new Foo() works 2009-02-22 10:51:49 +01:00
oop a slight add-method speedup 2009-02-14 00:47:56 +01:00
srfi fix mismerge on srfi-19.scm 2009-01-12 21:45:37 +01:00
system be smarter about allocating local variables, reusing slots if possible 2009-02-21 20:28:29 +01:00
Makefile.am move scm srfi files to module/srfi, and compile them. 2008-11-01 13:49:23 +01:00