Thanks guys! On Apr 7, 2014 4:36 PM, "Camille Teruel" <camille.teruel@gmail.com> wrote:
On 7 avr. 2014, at 16:31, Clément Bera <bera.clement@gmail.com> wrote:
Hello,
I do not like 'Smalltalk evaluate:' either.
One solution is to do 'self class compiler evaluate:'.
Yes IMO, calling #compiler on a class is the best solution since it returns a compiler with the options that the class defines.
2014-04-07 5:02 GMT-07:00 Sergi Reyner <sergi.reyner@gmail.com>:
2014-04-07 11:51 GMT+01:00 Marcus Denker <marcus.denker@inria.fr>:
In 4.0, we will remove the old compiler and then we can see how to make
the API perfect.
Will it be able to decompile by then?
I believe we cannot remove the old compiler if we do not provide something to access the method's sources.
It will have either a decompiler or in-image sources if we achieve to compress them enough (recently a guy compressed the AST in 15Mb by sharing nodes, which is half the size of the sources).
Cheers, Sergi