Hi Thierry One of these days I think that I will have to have a look at it :)
Stef On Wed, Jan 10, 2018 at 2:35 PM, Thierry Goubier <thierry.goub...@gmail.com> wrote: > > > 2018-01-10 14:26 GMT+01:00 Serge Stinckwich <serge.stinckw...@gmail.com>: > >> >> >> On Wed, Jan 10, 2018 at 2:23 PM, Julien <julien.delplan...@inria.fr> >> wrote: >> >>> Hello Serge, >>> >>> Do you mean pieces of code you wrote in Python using Numpy that you want >>> to transform to Smalltalk code using PolyMath? >>> >>> It’s kind of the other way around of this project. :-) >>> >>> >> yes this is exactly the opposite :-( >> I guess I need a Python parser and after that I can do AST >> transformation ... >> > > Hi Serge, > > there is a Python2.7 parser with AST that could be used. > > Thierry > > >> Or using regex I can do basic stuff ... >> >> -- >> Serge Stinckwich >> UMI UMMISCO 209 (IRD/UPMC/UY1) >> "Programs must be written for people to read, and only incidentally for >> machines to execute."http://www.doesnotunderstand.org/ >> > >