Learning DLR (how to implement a language on top of it)

Nov 29, 2013 at 9:40 PM
I am looking for a possible solutions to a problem I described on StackOverflow.

So far I've got a suggestion there to make a two phase interpreter, but I have no idea how it should be done in case of a ToyScript implementation, where, firstly, a "local" AST is generated form a program, then it is translated to DLR AST and only after that it is "executed"

Any help will be highly appreciated
Nov 30, 2013 at 7:07 AM
I posted an answer in StackOverflow. Please see if it answers your question.


Nov 30, 2013 at 1:55 PM
Thanks for your help. I've placed a short comment on it in a StackOverflow thread.