[Pas2js] pas2js node

Michael Van Canneyt michael at freepascal.org
Tue Oct 3 17:57:22 CEST 2023



On Tue, 3 Oct 2023, Luca Olivetti via Pas2js wrote:

> El 3/10/23 a les 16:21, Michael Van Canneyt via Pas2js ha escrit:
>
>> 
>> https://www.freepascal.org/~michael/articles/#typescript
>
> Wonderful, but I think that the lazarus integration is for the next version 
> (I cannot see in in 2.2.6), the online service gives an error (the frontend, 
> the url with full parameters works, as well as the one in the screen 
> capture).

The lazarus integration indeed only exists in trunk.

>
> But how do I compile dts2pas?
> I find a couple of dts2pas.pp in the checked out sources, but no Makefile 
> references them (I see it's references in fpmake but I don't know how to use 
> it).

>
> $ find -name dts2pas*
> ./compiler/packages/fcl-js/examples/dts2pas.pp
> ./compiler/utils/pas2js/dts2pas.pp

You should use the latter one.

Just run make in compiler/utils/pas2js, and make will run fpmake and compile dts2pas.

Michael.


More information about the Pas2js mailing list