[fpc-pascal] fpc2js

Michael Van Canneyt michael at freepascal.org
Wed Dec 6 14:33:38 CET 2017



On Wed, 6 Dec 2017, Victor Campillo wrote:

> Hi,
>
> Testing the preview that Michael was so kind to share, I found the next 
> minor problems trying to compile the packages included, I think that 
> everything is related to that the project is work in progress so nothing 
> to worry much about.
>
>  * Package fcl_base
>      o The package is configured as "designtime and runtime" and this
>        cause that the IDE complains about missing register procedure if
>        you try to install.
>      o Inside the folder fcl-base there is a unit called "browserapp"
>        that is not used in the package which could be correct but I
>        mention it just in case you forgot to include it in the package.
>      o It does not include the command to call pas2js compiler.
>      o Adding the command to call pas2js and changing the package to
>        runtime just compile fine.
>  * Package fcl-db
>      o The package include the unit "restconnection" which is missing.
>      o Just removing restconnection, the package compile without problems.
>  * Package fpcunit
>      o The package include the unit "htmltestreport" which is missing.
>      o The package is configured as "designtime and runtime" and this
>        cause that the IDE complains about missing register procedure if
>        you try to install.
>      o It does not include the command to call pas2js compiler.
>      o Solving the previous remarks, the compilation fails with the 
> message "plaintestreport.pas(166,6) Error: identifier not found "IRound""
>
>
> I will try to convert a little JavaScript project I have to pascal and 
> use pas2js, I will let you know if I found any problems do it.

Thank you very much for your remarks!

I have fixed all issues and re-uploaded the file:
http://www.freepascal.org/~michael/pas2js/pas2js-demo-0.8.37.zip

Michael.


More information about the fpc-pascal mailing list