Redesign way that macros are integrated into environments. Syntactic
authorChris Hanson <org/chris-hanson/cph>
Mon, 7 Jan 2002 03:38:47 +0000 (03:38 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 7 Jan 2002 03:38:47 +0000 (03:38 +0000)
commit225f20b553d31b424d2f9012e5a02a78043f9163
tree19021532cda38a520b0647b576a9fa48d2ea9077
parent3d96c57e4d2717584e80c8eb830f45d93a1c5c15
Redesign way that macros are integrated into environments.  Syntactic
keywords are now considered bound, but ordinary variable-reference
operations signal errors on those bindings; but each of the definition
operations can be used to modify either kind of binding.

New procedure ENVIRONMENT-DEFINABLE? can be used to determine if a
definition is allowed on a particular environment; currently it is
false on compiled-code environments.

New procedures ENVIRONMENT-REFERENCE-TYPE and ENVIRONMENT-SAFE-LOOKUP
provide very flexible mechanisms for determining what is contained in
an environment or binding without generating errors.
v7/src/runtime/error.scm
v7/src/runtime/runtime.pkg
v7/src/runtime/uenvir.scm