Re: [fpc-pascal] Running FPC in the browser...

2023-11-03 Thread Graeme Geldenhuys via fpc-pascal
On 10/22/23 11:20, Michael Van Canneyt via fpc-pascal wrote:
> As a consequence, this means FPC can now be run in a browser. 
> See the screenshot at


Well done to everyone involved. That is amazing, and yes, I can think
of many possibilities this could be used for.


Regards,
  - Graeme -


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] Running FPC in the browser...

2023-10-22 Thread Michael Van Canneyt via fpc-pascal



Hello,

Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile
itself to webassembly (the support for the goto statement made this possible).

As a consequence, this means FPC can now be run in a browser. 
See the screenshot at


https://wiki.freepascal.org/WebAssembly#Running_in_Web_Browsers

There are still some steps to do before FPC will actually compile and link a
program, but this is in the works as well.

If you think this is just a cute geeky achievement, it is not.

Think about the possibilities: being able to work without the need for an 
installation. Just go to a webpage and start developing as you would on your 
desktop.


For teaching programming, a teacher does not need to provide anything except a
browser and still have all the possibilities he would have when using a 
desktop.

No heavy server infrastructure is needed, everything happens in the browser.

No doubt, other possibilities will come to mind.

Stay tuned for more goodies from the FPC team :-)

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal