Re: [fpc-pascal] p2js - pascal to javascript compiler

2015-06-07 Thread Marc Santhoff
On So, 2015-06-07 at 16:23 +0700, Bee wrote: I hope this will help pas2js to become an advance pascal to javascript compiler. This will help us creating a full web application using pascal from end to end. And also because I simply hate to learn JavaScript. It's a mess. :D Learning

Re: [fpc-pascal] p2js - pascal to javascript compiler

2015-06-07 Thread Bee
On Sun, Jun 7, 2015 at 2:28 PM, Michael Van Canneyt mich...@freepascal.org wrote: As far as I can see, this is not correct. The rtl units have been hand-crafted. Many of them contain assembler code, and this is simply impossible to translate. Ah, I see. Then how p2js provide its RTL? Is it

Re: [fpc-pascal] p2js - pascal to javascript compiler

2015-06-07 Thread Michael Van Canneyt
On Sun, 7 Jun 2015, Bee wrote: The interesting part of this product is it tries to compile all the FPC RTL into Javascript as well. Unlike Smart Pascal. So we don't just have Pascal to Javascript translator but also with all the useful RTL. As far as I can see, this is not correct. The

[fpc-pascal] p2js - pascal to javascript compiler

2015-06-06 Thread Bee
Hi, Take a look at this interesting product: http://p2js.gelicon.biz/en It's build upon FPC source and has GPL license. It looks interesting. Perhaps we can use this to boost FPC's pas2js tool? Regards, -- -Bee- ___ fpc-pascal maillist -

Re: [fpc-pascal] p2js - pascal to javascript compiler

2015-06-06 Thread Bee
The interesting part of this product is it tries to compile all the FPC RTL into Javascript as well. Unlike Smart Pascal. So we don't just have Pascal to Javascript translator but also with all the useful RTL. Btw, it seems that it targets only Windows platform. I failed when I tried to compile

Re: [fpc-pascal] p2js - pascal to javascript compiler

2015-06-06 Thread Michael Van Canneyt
On Sat, 6 Jun 2015, Bee wrote: Hi, Take a look at this interesting product: http://p2js.gelicon.biz/en It's build upon FPC source and has GPL license. It looks interesting. Perhaps we can use this to boost FPC's pas2js tool? I have already looked into it and took some ideas from it.