[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Implement local-eval, local-compile, and the-environment
From: |
Andy Wingo |
Subject: |
Re: [PATCH] Implement local-eval, local-compile, and the-environment |
Date: |
Sat, 14 Jan 2012 17:34:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Hi Mark,
On Sun 08 Jan 2012 21:39, Mark H Weaver <address@hidden> writes:
>>>> Are there some short primitives that psyntax could export that
>>>> would make it possible to implement `the-environment' in a module?
>
>>> * The list of ordinary variables (these need to be boxed)
>>> * The list of simulated variables (we need to reuse the original box)
>>
>> A special form to get all visible variables, and syntax-local-value plus
>> a weak hash to do the optimization?
>
> We could do it that way, but that strategy would not extend nicely to a
> more complete implementation, where local syntactic keywords are
> captured.
Why not? Syntax-local-value can provide the macro transformer.
It still seems to me that this is an attractive option, especially if we
are to introduce syntax-local-value anyway.
Andy
--
http://wingolog.org/
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, (continued)
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, Mark H Weaver, 2012/01/03
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, Andy Wingo, 2012/01/07
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, Mark H Weaver, 2012/01/07
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, Andy Wingo, 2012/01/07
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, Mark H Weaver, 2012/01/08
- Variables and the evaluator (Was: [PATCH] Implement local-eval, local-compile, and the-environment), Andy Wingo, 2012/01/14
- Re: Variables and the evaluator, Andy Wingo, 2012/01/14
- Re: [PATCH] Implement local-eval, local-compile, and the-environment, Andy Wingo, 2012/01/14
- Re: [PATCH] Implement local-eval, local-compile, and the-environment,
Andy Wingo <=