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 Javasc

[fpc-pascal] Tips & Tricks: AllocationPreference Registry Key

2015-06-07 Thread Graeme Geldenhuys
Hi, I was only recently made aware that this registry key exists. I thought it might be useful to other developers developing for the Windows platform. This can help with detecting pointer truncation bugs on the Windows platform (and then also benefit cross-platform applications) I hope somebody

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 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? Th

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 rtl