Le 21/05/2012 15:03, Stéphane Ducasse a écrit :


I'm trying with the FileOut30 package, in VisualWorks compatibility mode. So 
far so good, but this code depends on the compiler infrastructure of 
VisualWorks.


but you should not run it in pharo but in vw so normally you do not need to 
change the parse tree visitor.

Oh, but my own code does make use of the compiler :-).

RBProgramNodeVisitor seems to be the class I need to use in Pharo.

Thierry

Stef

So what is the Pharo equivalent of ProgramNodeEnumerator ? Something in AST-* ?

Thanks,

Thierry

Le 21/05/2012 14:45, Stéphane Ducasse a écrit :

On May 21, 2012, at 12:51 PM, Goubier Thierry wrote:

Hi,

I have some code I'd like to port from VisualWorks to Pharo. How would one do 
that ? Both file outs formats are different, as far as I could find.


First there is a bundle to output Squeak format. Usually I hack the outputted 
to avoid _ and emit := instead.
May be look on the cincom store for the package.
I can look around.
Then I flatten the namespace with emacs.

Stef







--
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







--
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

Reply via email to