samedi 16 juin 2018

Do we have a reflective tower in Julia?

Julia borrows quite heavily from Lisp. I was wondering if Julia's reflection has the reflective tower ability.

3-Lisp is implemented as an infinite stack of meta-circular interpreters, each one executing the one under itself and the bottom one (level 1) executing the end-user program (level 0). The only way to get back to the original interpreter is when the continuation is called inside the reflective lambda's body. If the continuation is not called then the program just stays in the upper interpreter.

This is referred to as “being stuck" at a meta level. Is this implemented in Julia? If it is, how does Julia avoid getting stuck at the meta level?





Aucun commentaire:

Enregistrer un commentaire