Point granted.
> Tcl variables are an interesting case. One approach would be able to
> map Tcl variables onto real objects that have "-ref" and "-set!"
> operations, which could be noticed, traced, etc. This would help with
> implementing aliasing hacks like Tcl's "global" and "upvar", too.
Yes, but what I was thinking about specifically was mixing tcl and
scheme code. Although given the large differences between the two
languages, it is a better idea to just add special tcl procedures for
evaluating scheme forms and make the tcl variable namespace completely
separate from the scheme namespace. But this would miss part of the
point of translators, I think.
- Maciej Stachowiak