[Pas2js] Pas2js Build String

Michael Van Canneyt michael at freepascal.org
Sun Feb 2 14:08:54 CET 2020

On Sun, 2 Feb 2020, cbsistem via Pas2js wrote:

> the intention is to use pas2js with vscode together with other Javascript
> frameworks and with typescript.

Did you see the VSCode plugin of TMS Web core ?

> to be able to write a project being part in JavaScript, part in TypeScript,
> part in pascal.
> Use the best in each one.
> There are many good ORMs in typescript and JavaScript and now a Pascal
> programmer can use his preferred language.

Can you name a few, I'm interested ?

> the project can make use of pascal, taking advantage of libs Javascript /
> typescript.
> At first I thought about making a http server in pascal so that it would be
> consumed by vscode, compile the pascal string and return the javascript,
> leaving it up to vscode (javascript) what to do with this transpiled string.

Did you look at the compileserver ? It does exactly that. You can start it
with an npm task in vscode.


More information about the Pas2js mailing list