[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #643: overhaul environment representation in the eval
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #643: overhaul environment representation in the evaluator |
Date: |
Sat, 09 Jul 2011 11:45:37 -0000 |
#643: overhaul environment representation in the evaluator
-------------------------------+--------------------------------------------
Reporter: felix | Owner: felix
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: core libraries | Version: 4.7.x
Keywords: eval environments |
-------------------------------+--------------------------------------------
The current implementation of environments is completely syntax-agnostic
and also ignores the module system. It would (IMHO) make sense to use
something like SE's (syntactic-environments) instead of the currently uses
hash-tables, which only provide a value store.
Actually, I think a value store for environments isn't needed at all, only
a mapping of identifiers to the single global environment shared by all
other code. "Fresh" environments could be created just like modules, using
a different module-prefix.
Additionally, mapping modules to environments (for example by something
like "(module-environment MODULENAME)") would be a nice feature.
--
Ticket URL: <https://bugs.call-cc.org/ticket/643>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #643: overhaul environment representation in the evaluator,
Chicken Trac <=