[fpc-pascal] p2js - pascal to javascript compiler
Bee
bee.ography at gmail.com
Sun Jun 7 11:23:49 CEST 2015
On Sun, Jun 7, 2015 at 2:28 PM, Michael Van Canneyt <michael at 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 also hand-crafted? That's a
lot of works!
I have asked Florian to take a look at integrating it back in the compiler
> (that is be.
> I myself will take some ideas from it and see how far it gets me in the
> external tool.
> The var param support was bugging me, and they use an interesting
> technique for it with closures.
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
By the way, it seems almost impossible to compile p2js on linux or osx.
p2js was written to only target Windows, although it's using FPC. This is
very unfortunate. :(
--
-Bee-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150607/af5a64fc/attachment.html>
More information about the fpc-pascal
mailing list