[Pas2js] The goal of pas2js

Ralf Quint freedos.la at gmail.com
Sun Dec 30 23:25:48 CET 2018


On 12/30/2018 8:13 AM, warleyalex via Pas2js wrote:
> Michael said: "I wish to repeat that the goal of pas2js is to make pascal
> available in the browser.
> The goal is not to make pascal resemble Javascript."
>
> However, I wish the general purpose and were not limited to pascal available
> in the browser.
> Pas2js should be an full extented feature language; the language can support
> several syntax and features/extensions introduced similar to Delphi Prism /
> Oxygene / DWScript / FPC, as well as various language extensions, "make
> pascal resemble Javascript".

Sorry, but I rather would stick with Michael's statement.

I don't have a direct use case for pas2js myself yet, but I would see 
its use in being able to to reuse as much of my existing Pascal code 
that runs natively in an application that runs in a web browser.

There is no point in shoehorning pas2js into "resembling Javascript". If 
you want that, you can use Javascript directly, no need to transpile 
from Pascal into Javascript. This would be IMHO just a waste of 
everybody's time, energy and resources...

Ralf


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Pas2js mailing list