1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
guile/module/language/ecmascript
Andy Wingo 567a6d1ee7 The GOOPS "unbound" value is a unique pair
* libguile/goops.c (SCM_GOOPS_UNBOUND, SCM_GOOPS_UNBOUNDP): Remove
  internal macros.
  (scm_make_unbound, scm_unbound_p): Remove internal functions.
  (scm_sys_clear_fields_x): Add "unbound" parameter, for the init
  value.

* module/oop/goops.scm (*unbound*): Define in Scheme as a simple
  heap-allocated value.
  (unbound?): New definition.
  (%allocate-instance): Pass *unbound* to %clear-fields!.
  (make-class, slot-definition-init-value)
  (slot-definition-init-form, make-closure-variable): Use *unbound*
  instead of (make-unbound), which is now gone.

* module/oop/goops/active-slot.scm (compute-get-n-set): Use *unbound*
  instead of make-unbound.  This module uses the GOOPS internals module;
  perhaps we should export make-unbound or something...

* module/oop/goops/save.scm (make-unbound): Export our own make-unbound
  definition, for use by residualized save code.

* module/language/ecmascript/base.scm (<undefined>, *undefined*): Use a
  unique object kind and instance for the undefined value.

* libguile/vm.c (scm_i_vm_mark_stack): Fill the stack with
  SCM_UNSPECIFIED instead of SCM_UNBOUND.
2015-01-23 16:16:03 +01:00
..
array.scm fix array bugs in ecmascript 2010-03-31 22:31:11 +02:00
base.scm The GOOPS "unbound" value is a unique pair 2015-01-23 16:16:03 +01:00
compile-tree-il.scm Adapt ecmascript compiler to tree-il prompt changes, again. 2013-08-11 17:18:09 -04:00
function.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
impl.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
parse.scm Parse Decimal Numbers 2011-01-26 23:47:29 +01:00
spec.scm remove `version' field from <language> 2010-05-02 11:19:13 +02:00
tokenize.scm Fix Hex Constants 2011-01-26 23:45:33 +01:00