[Pas2js] Integrate the DFM2PAS serialization in pas2js compiler.

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Mar 6 14:16:31 CET 2018


On Tue, 6 Mar 2018 13:19:36 +0100
Tomislav Avramovic <tom at halkyon.com> wrote:

> I think this future is best to be part of pas2js!
> WebApp<>BinApp

Note that storing the form data as Pascal works for both WebApp and
BinApp.
For example the Pascal serializer in Laz works with the LCL.


>[...]
> Looking in the generated js code there is a lot of dead code.
> Is there any option or plan to optimize generated code to include only 
> used code?

Removing dead code is the default in pas2js. Maybe TMS disables
that by default with -O-. Then you need to pass -O to enable it again.

Mattias


More information about the Pas2js mailing list