Arc Forumnew | comments | leaders | submitlogin
1 point by bOR_ 5953 days ago | link | parent

Sounds intriguing ;), but I miss the implications of your observation. Can something nifty be done with this?


1 point by almkglor 5953 days ago | link

Yes: a code-walker interpreter with dynamic lookup can implement lexical scope, provided you don't pass functions around (on the interpreted-language side).

If you do pass functions around though, you need to keep separate slightly-different versions of the environment variable, and attach those to the functions you pass around on the interpreted-language side.

-----