Re: [Newbies] How do i list the execution order of objects inside a method?

2013-01-28 Thread David Corking
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

Re: [Newbies] How do i list the execution order of objects inside a method?

2013-01-25 Thread David Corking
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

[Newbies] How do i list the execution order of objects inside a method?

2013-01-25 Thread mircea
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: