[Pas2js] Proud to announce..

Michael Van Canneyt michael at freepascal.org
Wed Dec 5 08:56:37 CET 2018



On Tue, 4 Dec 2018, Dmitry Boyarintsev wrote:

> On Tue, Dec 4, 2018 at 4:59 PM Michael Van Canneyt <michael at freepascal.org>
> wrote:
>
>> If anyone still doubted that Object Pascal is the best programming
>> language,
>> running on the most platforms:
>>
>> It is with considerable pride that I can announce a new major milestone
>> has been
>> reached in Free Pascal's pas2js story:
>>
> It's a great achievement for the open source community for sure.
> Yet for Pascal it did happen in the past with Morfik (which is also FPC
> based).

I know that. I worked on developing Morfik when it was still being developed, 
back in 2007 or 2008, exactly because it was FPC based.

The whole Morfik architecture was the inspiration for starting the pas2js effort.

But we are now a step further: the compiler itself runs in the browser.
Morfik never got to that stage.

And that is why this is a major milestone for me.

>> See it in action for yourself:
>> ...
>> The program will be loaded & run in an IFrame at the bottom of the page.
>>
>
> it constantly fails to compile the sample program, with "Fatal: Compilation
> aborted" error. (after adding default units)

It works from here, I just tried. I even compiled 2 programs in succession. 
What browser are you using ? I use firefox. I'll try chrome as well.

I had a similar report from a spidermonkey user, maybe you are using
spidermonkey too ?

Michael.


More information about the Pas2js mailing list