[Lazarus] up with Lazarus !

Michael Van Canneyt michael at freepascal.org
Thu Dec 2 11:48:53 CET 2021



On Thu, 2 Dec 2021, Mehmet Erol Sanliturk via lazarus wrote:

> Since the subject is
> "up with Lazarus"
> can I ask one question as follows :
>
> I have  a Pascal program having  ( around ) 12000 procedures and a small
> number of
> units and it is compiled with Lazarus / Free Pascal only in Unix-like
> operating systems
> such as Linux and FreeBSD .
>
> (1)
> After converting all of the variant records to  non_variant records
> ( by removing "case " related part of its tag line , by keeping the tag
> variable ) ,
>
> (2) There is no any "Initialization" , "Finalization" parts in units
>
> (3) Nearly all of the constants , types , and records are marked with their
> unit names
>      such as   Unit_A . constant_name , etc. .
>
>
> Can I convert that program to JavaScript by using Lazarus ?

Yes.

You can use pas2js to convert it to javascript; provided your program does
not do any file IO or GUI, this should be relatively painlesss.

Michael.


More information about the lazarus mailing list