did you use a socket to communicate from Pharo to Python?
�� �� ��it does not sound like it�� �� ��it sounds more one way
�� �� ��i am interested in using sockets to communicate between programs
�� �� �� �� �� but i haven't done much with it yet
�� �� ��maybe you can include sockets in your generated Python to talk
�� �� �� �� �� back to Pharo ?
�� �� ��i got Dolphin Smalltalk to talk to Pharo using a socket
�� �� �� �� �� but i kind of forgot about it
did you look at Roassal ? Roassal does a lot of plotting they look very nice
�� �� ��they have mouse interactions and lots of cool stuff
�� �� �� �� �� but i don't know how they relate to other plotting programs
�� �� ��i imagine that Roassal tries to do things not done in other programs
�� �� �� �� �� but i don't really know�� �� ��i looked at some other plotting thing also
�� �� �� �� �� can't remember Sci something
�� �� ��Roassal has a nice declarative style that is nice
�� �� �� �� �� i want to use it a lot in future
�� �� �� i use Roassal in the Moose Pharo image because it is pre installed
i have a rich text tree editing program in Dolphin Smalltalk
�� �� ��that i use like a note taking program like everNote but as a great big tree
�� �� �� �� �� using the old Windows tree widget in Dolphin 6 which i like
�� �� �� �� �� and i store a lot of my text stuff in there
�� �� ��and i would like to store and edit Racket programs or lisp programs
�� �� �� �� �� in there in a tree format
�� �� ��and your project sounds interesting
�� �� �� �� �� about how to maybe generate Racket code that will allow
�� �� �� �� �� me to use Dolphin and Pharo and other Smalltalks as a front end to��
�� �� �� �� �� Racket or commonLisp etc
�� �� �� �� �� because i don't like the GUIs or IDEs of those things
�� �� �� �� �� �� �� ��( they're so primative )( but i don't know them well )( they just look
�� �� �� �� �� �� �� �� �� �� brittle )( and C like )
�� �� ��and i believe there is a command line interface in Pharo so you can
�� �� �� �� �� execute external programs like generated scripts





On Tue, Jan 2, 2018 at 12:30 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
On Mon, Jan 1, 2018 at 8:22 PM, Julien <julien.delplanque@inria.fr> wrote:
> Hello,
>
> My new year main resolution: stop keeping my side-projects for me.

I ***LOVE IT***
Last year I took as decision, release all the books that I had half
finished :) and I ended up creating the booklets
to flush my hardisc.

Stef






>
> It���s been like 1 year that I created these two projects, one coming from a
> refactoring of the other.
> Now it is time to take time to announce them.
>
> I initially come from Python world and during my bachelor & master, I really
> liked to use matplotlib to plot data using Python.
>
> So I wanted to be able to use this Python module from Pharo. I did it by
> generating Python 3 code from Pharo and making Python 3 executing it. So,
> first I implemented everything in MatplotLibBridge package and then I split
> it in two package in order to be able to eventually create bridges to other
> Python 3 modules.
>
> So, Python3Generator [1] is made for generating programatically Python 3
> code from Pharo. Basically, it allows you to easily build a Python 3 AST,
> to serialize it in Python 3 source code and eventually to execute it. For
> now you can transfer data from Pharo to Python (e.g. providing arguments to
> functions that are Pharo���s objects) but you can not retrieve data stored in
> Python variable from Pharo (but it should be possible, just I don���t need to
> do that for my bridge to matplotlib). Some examples are provided on the
> github���s README.
>
> MatplotLibBridge [2] is made for creating plots using matplotlib [3] from
> Pharo. There is a bunch of examples of what you can do on the README. The
> two features from matplotlib I like the most are: 1. You can generate your
> plot in a lot of file formats (png, pdf, svg, ps, etc���) 2. It allows to
> embed LaTeX mathematical formulae everywhere in the plot (which can be
> really cool). All the possible plots in matplotlib are not available in
> Pharo���s side because I build parts of the bridge when I need them but it is
> not hard to do. I someone is interested in a plot type not available yet,
> please tell me.
>
> So, it is announced, if someone want to do something with those, please do
> it!
>
> Happy new year.
>
> Regards,
>
> Julien
>
> [1]: https://github.com/juliendelplanque/Python3Generator
> [2]: https://github.com/juliendelplanque/MatplotLibBridge
> [3]: https://matplotlib.org
>
> ---
> 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
>