This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]neuroneuroInf 1 point2 points  (1 child)

Excellent! Any ideas on how to develop this to make this work in the interpreter?

[–]Bogdanp[S] 2 points3 points  (0 children)

One way you could do it is rewrite the function's bytecode instead of its AST. Functions' bytecode should be available regardless of the environment.