A member of the AST-Interpreter[1] team posted a very interesting
answer on Stack Overflow.[2]
1 - http://smalltalkhub.com/#!/~dh83/ast-interpreter
2 -
http://stackoverflow.com/questions/14520133/programmatically-get-the-execution-order-of-objects-inside-a-method
Have fun! David
I have never tried to do this, but it is interesting.
I think the bytecode represents the execution order, so if your method
is already compiled, you could, for example, send #symbolic to the
CompiledMethod, as the browser does when you select bytecodes:
(Tutorial compiledMethodAt: #tutorial:less
Hello,
I have this piece of code (taken from ProfSted). How do i programmatically
get the order in which the objects are executed by Squeak. I know the order
of execution from smalltalk documentation. But what if i need this
information inside an app i'm building.
tutorial: aTutorialClass lesson: