pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

[ANN] Develop in Pharo 9, run on Javascript

NB
Noury Bouraqadi
Fri, Mar 12, 2021 3:16 PM

Hi everyone,

We have been working on porting PharoJS to Pharo 9 for a while now.
And we managed to reach the end of the tunnel this week.
All PharoJS tests are now green on Pharo 9.

Find out more at: https://github.com/PharoJS/PharoJS
Dave & Noury

Hi everyone, We have been working on porting PharoJS to Pharo 9 for a while now. And we managed to reach the end of the tunnel this week. All PharoJS tests are now green on Pharo 9. Find out more at: https://github.com/PharoJS/PharoJS Dave & Noury
SD
Stéphane Ducasse
Fri, Mar 12, 2021 3:55 PM

super cool!

On 12 Mar 2021, at 16:16, Noury Bouraqadi bouraqadi@gmail.com wrote:

Hi everyone,

We have been working on porting PharoJS to Pharo 9 for a while now.
And we managed to reach the end of the tunnel this week.
All PharoJS tests are now green on Pharo 9.

Find out more at: https://github.com/PharoJS/PharoJS https://github.com/PharoJS/PharoJS
Dave & Noury
<pharoJsPharo9TestsGreen2021-02-10.jpg>


Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

super cool! > On 12 Mar 2021, at 16:16, Noury Bouraqadi <bouraqadi@gmail.com> wrote: > > Hi everyone, > > We have been working on porting PharoJS to Pharo 9 for a while now. > And we managed to reach the end of the tunnel this week. > All PharoJS tests are now green on Pharo 9. > > Find out more at: https://github.com/PharoJS/PharoJS <https://github.com/PharoJS/PharoJS> > Dave & Noury > <pharoJsPharo9TestsGreen2021-02-10.jpg> -------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr / http://www.pharo.org 03 59 35 87 52 Assistant: Aurore Dalle FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France
EL
Esteban Lorenzano
Fri, Mar 12, 2021 5:09 PM

Thanks Noury and Dave!
I was eager to have it !

(now I need to find the time to do what I wanted to do with it, but that's another story ;) )
Esteban
On Mar 12 2021, at 4:16 pm, Noury Bouraqadi bouraqadi@gmail.com wrote:

Hi everyone,

We have been working on porting PharoJS to Pharo 9 for a while now.
And we managed to reach the end of the tunnel this week.
All PharoJS tests are now green on Pharo 9.

Find out more at: https://github.com/PharoJS/PharoJS
Dave & Noury

Thanks Noury and Dave! I was eager to have it ! (now I need to find the time to do what I wanted to do with it, but that's another story ;) ) Esteban On Mar 12 2021, at 4:16 pm, Noury Bouraqadi <bouraqadi@gmail.com> wrote: > Hi everyone, > > We have been working on porting PharoJS to Pharo 9 for a while now. > And we managed to reach the end of the tunnel this week. > All PharoJS tests are now green on Pharo 9. > > Find out more at: https://github.com/PharoJS/PharoJS > Dave & Noury
SP
Sean P. DeNigris
Fri, Mar 12, 2021 9:32 PM

Noury Bouraqadi-2 wrote

All PharoJS tests are now green on Pharo 9.

Noury Bouraqadi-2 wrote > All PharoJS tests are now green on Pharo 9. Awesome!!! ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
RO
Richard O'Keefe
Sat, Mar 13, 2021 10:35 AM

Well done!

On Sat, 13 Mar 2021 at 04:17, Noury Bouraqadi bouraqadi@gmail.com wrote:

Hi everyone,

We have been working on porting PharoJS to Pharo 9 for a while now.
And we managed to reach the end of the tunnel this week.
All PharoJS tests are now green on Pharo 9.

Find out more at: https://github.com/PharoJS/PharoJS
Dave & Noury

Well done! On Sat, 13 Mar 2021 at 04:17, Noury Bouraqadi <bouraqadi@gmail.com> wrote: > Hi everyone, > > We have been working on porting PharoJS to Pharo 9 for a while now. > And we managed to reach the end of the tunnel this week. > All PharoJS tests are now green on Pharo 9. > > Find out more at: https://github.com/PharoJS/PharoJS > Dave & Noury >
SQ
Steve Quezadas
Mon, Mar 15, 2021 1:50 AM

So that I understand properly. If I write, say, a visual presentation in
Moose, PharoJS allows me to export that presentation to a javascript
window? So it can be viewed in any web browser?

On Fri, Mar 12, 2021 at 7:55 AM Stéphane Ducasse stephane.ducasse@inria.fr
wrote:

super cool!

On 12 Mar 2021, at 16:16, Noury Bouraqadi bouraqadi@gmail.com wrote:

Hi everyone,

We have been working on porting PharoJS to Pharo 9 for a while now.
And we managed to reach the end of the tunnel this week.
All PharoJS tests are now green on Pharo 9.

Find out more at: https://github.com/PharoJS/PharoJS
Dave & Noury
<pharoJsPharo9TestsGreen2021-02-10.jpg>


Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

So that I understand properly. If I write, say, a visual presentation in Moose, PharoJS allows me to export that presentation to a javascript window? So it can be viewed in any web browser? On Fri, Mar 12, 2021 at 7:55 AM Stéphane Ducasse <stephane.ducasse@inria.fr> wrote: > super cool! > > On 12 Mar 2021, at 16:16, Noury Bouraqadi <bouraqadi@gmail.com> wrote: > > Hi everyone, > > We have been working on porting PharoJS to Pharo 9 for a while now. > And we managed to reach the end of the tunnel this week. > All PharoJS tests are now green on Pharo 9. > > Find out more at: https://github.com/PharoJS/PharoJS > Dave & Noury > <pharoJsPharo9TestsGreen2021-02-10.jpg> > > > -------------------------------------------- > Stéphane Ducasse > http://stephane.ducasse.free.fr / http://www.pharo.org > 03 59 35 87 52 > Assistant: Aurore Dalle > FAX 03 59 57 78 50 > TEL 03 59 35 86 16 > S. Ducasse - Inria > 40, avenue Halley, > Parc Scientifique de la Haute Borne, Bât.A, Park Plaza > Villeneuve d'Ascq 59650 > France > >
NB
Noury Bouraqadi
Mon, Mar 15, 2021 1:40 PM

Moose visualization rely on Pharo graphic libraries, and the underlying primitives. We don't have support for them. We need a some mapping at least from these primitives to JS ones (canvas).

Noury

Moose visualization rely on Pharo graphic libraries, and the underlying primitives. We don't have support for them. We need a some mapping at least from these primitives to JS ones (canvas). Noury
GP
Guillermo Polito
Mon, Mar 15, 2021 1:49 PM

This is cool :)

Noury, would you mind sharing what were the main “issues” in the migration?
If you have interesting tips we could see how to make them rewrite rules or add them into a guide in the wiki.

Thanks,
G

El 15 mar 2021, a las 14:40, Noury Bouraqadi bouraqadi@gmail.com escribió:

Moose visualization rely on Pharo graphic libraries, and the underlying primitives. We don't have support for them.  We need a some mapping at least from these primitives to JS ones (canvas).

Noury

This is cool :) Noury, would you mind sharing what were the main “issues” in the migration? If you have interesting tips we could see how to make them rewrite rules or add them into a guide in the wiki. Thanks, G > El 15 mar 2021, a las 14:40, Noury Bouraqadi <bouraqadi@gmail.com> escribió: > > Moose visualization rely on Pharo graphic libraries, and the underlying primitives. We don't have support for them. We need a some mapping at least from these primitives to JS ones (canvas). > > Noury
NB
Noury Bouraqadi
Mon, Mar 15, 2021 2:02 PM

In PharoJS, we are able to provide a placeholder for a class upon transpilation. So, if we know which class/method to replace, we have a tool.

But, we don't have a list of stuff requiring specific support/transpilation in PharoJS. And I didn't dig deep enough to list all missing stuff.
Yes, I'm lazy, I use TDD :-)

There's however few things we know are not support (yet) such thisContext is one of them (No idea how to handle it).
Process and related classes is another another bucket, though we have a plan for it.
Networking faces the same issues as graphics. We need to replace libraries. Note that, as for graphics we can use JS libraries, but we loose the benefit of pharo compatibility.
Noury

In PharoJS, we are able to provide a placeholder for a class upon transpilation. So, if we know which class/method to replace, we have a tool. But, we don't have a list of stuff requiring specific support/transpilation in PharoJS. And I didn't dig deep enough to list all missing stuff. Yes, I'm lazy, I use TDD :-) There's however few things we know are not support (yet) such thisContext is one of them (No idea how to handle it). Process and related classes is another another bucket, though we have a plan for it. Networking faces the same issues as graphics. We need to replace libraries. Note that, as for graphics we can use JS libraries, but we loose the benefit of pharo compatibility. Noury