I believe the idea is to ask yourself for your compiler 

  self class compiler evaluate: '1+2'

So I guess, globally the following would do

  Smalltalk compiler evaluate: '1+2'.

This I infer by looking at the implementors of #compiler

> On 6 Oct 2018, at 18:30, H. Hirzel <hannes.hir...@gmail.com> wrote:
> 
> Hello
> 
> What is the Pharo equivalent of the Squeak expression
> 
>     Compiler evaluate: '3+4'
> 
> ?
> 
> Thank you for the answer in advance
> 
> --Hannes
> 


Reply via email to