Re: [TCLCORE] Tcl through X rays
by Alexandre Ferrieux other posts by this author
May 28 2007 3:30PM messages near this date
Re: [TCLCORE] Tcl through X rays
|
Re: [TCLCORE] Tcl through X rays
Hello Mo,
On 5/28/07, Mo DeJong <mo@[...].com> wrote:
>
> You can write a compiler that assumes that a
> proc does not deal with linked variables,
> but it is trivial to create a test case that breaks this optimization.
Yes, if we do nothing actively to deal with upvars.
But I was thinking about intercepting those accesses at runtime (see my
answer to Donal's).
P.S.
> If you are looking for test cases for compiler related Tcl issues like
> this, I suggest you have a look at the tjcruntime
> package in the tcljava CVS:
>
> http://tcljava.cvs.sourceforge.net/tcljava/tjcruntime/varcache/
Thanks much for the pointer. I'd also appreciate any high-level description
of the bytecode VM. Do you have anything like this ?
-Alex
Thread:
Alexandre Ferrieux
Donal K. Fellows
Alexandre Ferrieux
Mo DeJong
Alexandre Ferrieux
Mo DeJong
Jeff Hobbs
Andreas Leitgeb
Donal K. Fellows
Alexandre Ferrieux
Larry McVoy
Donal K. Fellows
Donal K. Fellows
Alexandre Ferrieux
Miguel Sofer
Rna020
Donal K. Fellows
Donal K. Fellows
Gerald W. Lester
Donal K. Fellows
|