[fpc-pascal] Live pascal

Steve Litt slitt at troubleshooters.com
Mon Feb 23 17:20:45 CET 2026


Michael Van Canneyt via fpc-pascal said on Mon, 23 Feb 2026 10:50:31
+0100 (CET)

>Hello,
>
>Pascal was designed for teaching. I'm sure everyone knows this.
>
>The chairman of the Free Pascal & Lazarus foundation (and me) take
>this to heart: we would very much like to reintroduce pascal in
>schools. While it is not certain that we will achieve success, we
>still try to improve the teaching experience for pascal.
>
>Some languages allow you to test the language on a website. 
>No need to install anything.
>
>We can make the same possible for Pascal.
>
>To this end, I've been working on a project for some time now:
>
>https://live.freepascal.org/
>
>A live editor for pascal, allowing you to run pascal in the browser.
>It uses pas2js for 'compiling' and lazarus' JCF (compiled to wasm) 
>for formatting the code. You can also pick files from your local
>computer.
>
>It features a JIT compiler: if you don't do anything for 3 seconds or
>more, it will compile in the background and annotate the code in the
>gutter with errors/warnings etc.
>
>You can embed the editor in an existing page and control it from the
>enveloping page:
>
>https://live.freepascal.org/test-embed.html
>
>The idea is to enable a self-paced tutorial:
>
>https://live.freepascal.org/tutorial-sample.html
>
>But also to have specific assignments:
>
>http://live.freepascal.org/?assignment=assignments/hello-world.json

Very cool! Next step: Make it more discoverable by placing an
index.html or whatever index you need to place at
http://live.freepascal.org/?assignment=assignments or
http://live.freepascal.org/assignments . A person unfamiliar with your
website needs to be able to random access all assignments.

Once again, this is a great way to gently introduce Pascal and show
that it's not some ancient difficult language. Congratulations on a job
well done!

SteveT

Steve Litt 

http://444domains.com


More information about the fpc-pascal mailing list