d5 / tengo

A fast script language for Go

Home Page:https://tengolang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why need objectptr and free opcodes in tengo?

opened this issue · comments

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

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.