Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    Why would you want self references? Would that create a circular dependency as it tries to determine what sequence of operations to execute? Commented Feb 3, 2015 at 1:00
  • For instance, you could continue to transform the same variable based on its previous value, I also want to include IF statements. I updated the question about this aspect Commented Feb 3, 2015 at 18:33
  • @RichardLevasseur Oh and yes, it would result in a circular dependency resulting in stack overflow during evaluation. I'm interpreting the AST, unfortunately, currently, it doesn't currently allow to replace a name reference with its original value. Since it would be quite a little work to implement, I first asked this question. Commented Feb 3, 2015 at 19:37