So, dummy, not bad

Ben

On Jun 21, 2012, at 2:51 PM, Jean Baptiste Arnaud wrote:


Is not a real example it is a foo bar example, so bad.

On Jun 21, 2012, at 2:44 PM, Benjamin wrote:

Why is this example bad ?

Ben

On Jun 21, 2012, at 2:40 PM, Jean Baptiste Arnaud wrote:

hi.
JB ^^
You can execute this code for install:

Gofer new
   squeaksource: 'OpalCompiler';
   package:'ConfigurationOfOpalCompiler';
   load.

(Smalltalk at: #ConfigurationOfOpalCompiler) load.

A bad example : an instance of OCClosureCompiler will return you the method node.
OCClosureCompiler new compile:  'selector
^1+1' in: TestObject classified: 'examples' notifying: nil ifFail: [].

For put  annotation on AST maybe marcus can explain better than me.





On Jun 21, 2012, at 2:01 PM, Goubier Thierry wrote:

Hi,

I'd like to port an old smalltalk code tracer framework of mine to Pharo (was developped on the VisualWorks compiler) and I didn't manage to port it easily on the Pharo smalltalk compiler.

I met J-C. Arnaud in Rennes yesterday and he told me I should try the Opal compiler. So, how do I load Opal in a Pharo 1.4 image ?

Thanks,

Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Syst�mes Temps R�el Embarqu�s
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95


Best Regards
Jean Baptiste Arnaud
jbaptiste.arnaud@gmail.com











Best Regards
Jean Baptiste Arnaud