Login  Register

Re: How can I specify the bindings when evaluating an expression?

Posted by Sean P. DeNigris on May 05, 2015; 2:20pm
URL: https://forum.world.st/How-can-I-specify-the-bindings-when-evaluating-an-expression-tp4794352p4824625.html

Marcus Denker-4 wrote
> Smalltalk compiler
>         bindings: { #a -> 3 } asDictionary;
>         evaluate: '1+a’.

This is now in Pharo5 update #032
Cool :)
Cheers,
Sean