Hi all -
<div><br></div><div>a question for those who have experiences with metacircular interpreters: </div><div><br></div><div>How do you represent the lexical variables? Since lexical variables can be optimized away so they won't show up on a call to eval, it seems putting them into the environment (I am using a struct holding an immutable hash for environment) isn't the right approach. It feels like I need my own call-stack to represent them, but that sounds "heavy" for a metacircular interpreter. </div>
<div><br></div><div>Any thoughts are appreciated, thanks. </div><div>yc</div><div><br></div><div><br></div>