Le 25/07/2014 20:55, Marcus Denker a écrit :
On 25 Jul 2014, at 20:49, Thierry Goubier <thierry.goub...@gmail.com
<mailto:thierry.goub...@gmail.com>> wrote:
Ok, as above, it should be understood as:
ast := RBParser parseMethod: (Object compiledMethodAt: #printString)
onError: [ :msg :ps | ].
ast doSemanticAnalysisIn: self sourceClass.
There is a method on CompiledMethod called #ast that called the
parser + semantic analysis:
( Object compiledMethodAt: #halt ) ast
No need to know details about RBParser.
Marcus
Cool. Thanks.
But when you start to use the ast, you'd better have a look into the
RBParser / RBAST stuff, no?
Thierry