Executing AST

Norbert Hartl norbert at hartl.name
Sun Jul 8 12:31:44 UTC 2007


Hi,

I'm playing a little with parsing and executing smalltalk
expressions.

I have a tree from

RBParser parseExpression: ('3 + 4' readStream)

How can I execute the expression? Do I have to generate code
first or is this tree somehow executable?

thanks,

Norbert




More information about the Squeak-dev mailing list