I guess the hardest part will be to define the 1 - 1 mapping between Numpy and PolyMath APIs, no?
I mean, how can you ensure that features using Floats will behave exactly the same in Python and Smalltalk for example? Julien --- Julien Delplanque Doctorant à l’Université de Lille 1 http://juliendelplanque.be/phd.html Equipe Rmod, Inria Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq Numéro de téléphone: +333 59 35 86 40 > Le 10 janv. 2018 à 14:26, Serge Stinckwich <serge.stinckw...@gmail.com> a > écrit : > > > > On Wed, Jan 10, 2018 at 2:23 PM, Julien <julien.delplan...@inria.fr > <mailto: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 ... > 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/ <http://www.doesnotunderstand.org/>