This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: various kawa check-ins
Nic Ferrier wrote:
> Incidentally, one big question for servlets in dynamic languages like
> Scheme is: how far does dyunamic scope go?
>
> DS is really useful and languages like JSP frig it with session scope
> and page scope and all that guff. Of course Scheme could eaily have
> it's environment extended to look up bindings in a session table and a
> page table and an application table... etc...
I've recently changed CallContext to be per-thread, using a thread-based
hash-table. KawaServlet registers the current thread and the
ServetCall Context in that table. Th next step is to move the
fluid-binding support from Furure into CallContext, which is an
easy task, though I haven't done it yet. (It's mainly figuring
out/remembering how the various pieces fit together.)
One that is done, you'll be able to use fluid-let in servlets, and
it would be easy to have KawaServlet register the appropriate variables
in the dynamic state.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/