d5/tengo

why need objectptr and free opcodes in tengo?

Opened this issue · 2 comments

tengo is interpreter, and so why need pointer?
is it needs for just closure syntax?

geseq commented

iirc yes to facilitate access to variables within closures

thx to reply :D I'm working on a subset that doesn't have a closure syntax due to deterministic problems.