• Fwd: [Lazarus] Live pascal

    From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Tue Feb 24 19:23:42 2026
    From Newsgroup: comp.os.linux.misc

    Recently there was talk here about Pascal, so I thought I would forward this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org>
    Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC mailing list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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

    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre-configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their tutorial.

    On the server, it is just a set of static files, so no heavy load.
    Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned up a bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial mode with manifest - Tutorial progress persistence - Submit results to teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded exercises - Inline hover annotations / code docs (AKA: code insight, the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-insert code snippets - Unit catalog grouped by domain - Resizable split panes (draggable divider) - Separate console panel from DOM output - Resizable output iframe + presets - Use FPC itself to output wasm.

    Other suggestions for improvements are welcome. Contributions as well, obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.
    --
    _______________________________________________
    lazarus mailing list
    lazarus@lists.lazarus-ide.org
    https://lists.lazarus-ide.org/listinfo/lazarus
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Tue Feb 24 21:33:12 2026
    From Newsgroup: comp.os.linux.misc

    On 2/24/26 13:23, Carlos E.R. wrote:
    Recently there was talk here about Pascal, so I thought I would forward
    this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org> Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC mailing
    list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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

    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre- configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their tutorial.

    On the server, it is just a set of static files, so no heavy load.
    Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned up a
    bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial mode with manifest - Tutorial progress persistence - Submit results to teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded
    exercises - Inline hover annotations / code docs-a (AKA: code insight,
    the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-insert code snippets - Unit catalog grouped by domain - Resizable split panes
    (draggable divider) - Separate console panel from DOM output - Resizable output iframe + presets - Use FPC itself to output wasm.

    Other suggestions for improvements are welcome. Contributions as well, obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.


    Pascal was invented for 'educational purposes' - both
    for learners and as an example of how compilers can
    be done.

    However Phillipe Khan made a few little tweaks and turned
    Pascal into a workhorse language. I still use it - and
    if you need a GUI by 5pm Lazarus/Delphi will get it done.

    SO, I'm going to keep using it, encourage others to
    do so as well. Pascal has a nice vibe, almost 'artistic'.

    'C' has many good uses, Python has many good uses, even
    Rust ... not gonna knock 'em. Every new install I add
    in a few 'C' compilers, as well as a FORTRAN, but
    first up I always add FPC/Lazarus.

    Long long back there were Microsoft/IBM multi-pass
    compilers for 'C' and Pascal. I have a DOS VM that
    has both installed and DO have fun with them from
    time to time.

    In any case, it's best not to be a language snob -
    there are great uses for a variety of langs/dialects.
    Pick the one that best serves the need. Hey, if Prolog
    is indicated, use it. String-heavy apps, then Pascal
    and Python are first choices. Fast lowest-level stuff,
    then use 'C'. Masochist ? Go Ada :-)

    Still looking for a Modula-3 compiler that will
    install/work properly in Linux ... that Quebec
    version sure as hell won't .....

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Wed Feb 25 11:22:19 2026
    From Newsgroup: comp.os.linux.misc

    On 2026-02-25 03:33, c186282 wrote:
    On 2/24/26 13:23, Carlos E.R. wrote:
    Recently there was talk here about Pascal, so I thought I would
    forward this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org>
    Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC mailing
    list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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

    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre-
    configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their tutorial.

    On the server, it is just a set of static files, so no heavy load.
    Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned up
    a bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial mode
    with manifest - Tutorial progress persistence - Submit results to
    teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded
    exercises - Inline hover annotations / code docs-a (AKA: code insight,
    the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-insert
    code snippets - Unit catalog grouped by domain - Resizable split panes
    (draggable divider) - Separate console panel from DOM output -
    Resizable output iframe + presets - Use FPC itself to output wasm.

    Other suggestions for improvements are welcome. Contributions as well,
    obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.


    -a Pascal was invented for 'educational purposes' - both
    -a for learners and as an example of how compilers can
    -a be done.

    Yes, yes, but the point is that they have created a web page where you
    can try to create a program and is compiled and run right there, without having to install anything, to make the introduction far easier to
    students and novices.
    --
    Cheers, Carlos.
    ESEfc-Efc+, EUEfc-Efc|;
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Wed Feb 25 06:06:35 2026
    From Newsgroup: comp.os.linux.misc

    On 2/25/26 05:22, Carlos E.R. wrote:
    On 2026-02-25 03:33, c186282 wrote:
    On 2/24/26 13:23, Carlos E.R. wrote:
    Recently there was talk here about Pascal, so I thought I would
    forward this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org>
    Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC mailing
    list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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

    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre-
    configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their
    tutorial.

    On the server, it is just a set of static files, so no heavy load.
    Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned up
    a bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial mode
    with manifest - Tutorial progress persistence - Submit results to
    teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded
    exercises - Inline hover annotations / code docs-a (AKA: code insight,
    the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-insert
    code snippets - Unit catalog grouped by domain - Resizable split
    panes (draggable divider) - Separate console panel from DOM output -
    Resizable output iframe + presets - Use FPC itself to output wasm.

    Other suggestions for improvements are welcome. Contributions as
    well, obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.


    -a-a Pascal was invented for 'educational purposes' - both
    -a-a for learners and as an example of how compilers can
    -a-a be done.

    Yes, yes, but the point is that they have created a web page where you
    can try to create a program and is compiled and run right there, without having to install anything, to make the introduction far easier to
    students and novices.

    Ummm ... there were no web pages when Pascal
    was created.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Wed Feb 25 13:15:57 2026
    From Newsgroup: comp.os.linux.misc

    On 2026-02-25 12:06, c186282 wrote:
    On 2/25/26 05:22, Carlos E.R. wrote:
    On 2026-02-25 03:33, c186282 wrote:
    On 2/24/26 13:23, Carlos E.R. wrote:
    Recently there was talk here about Pascal, so I thought I would
    forward this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org>
    Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC
    mailing list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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

    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre-
    configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their
    tutorial.

    On the server, it is just a set of static files, so no heavy load.
    Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned
    up a bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial mode
    with manifest - Tutorial progress persistence - Submit results to
    teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded
    exercises - Inline hover annotations / code docs-a (AKA: code
    insight, the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-insert
    code snippets - Unit catalog grouped by domain - Resizable split
    panes (draggable divider) - Separate console panel from DOM output -
    Resizable output iframe + presets - Use FPC itself to output wasm.

    Other suggestions for improvements are welcome. Contributions as
    well, obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.


    -a-a Pascal was invented for 'educational purposes' - both
    -a-a for learners and as an example of how compilers can
    -a-a be done.

    Yes, yes, but the point is that they have created a web page where you
    can try to create a program and is compiled and run right there,
    without having to install anything, to make the introduction far
    easier to students and novices.

    -a Ummm ... there were no web pages when Pascal
    -a was created.


    So? We are talking of an initiative of the freepascal people. Today.

    Focus, please.
    --
    Cheers, Carlos.
    ESEfc-Efc+, EUEfc-Efc|;
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Wed Feb 25 21:00:46 2026
    From Newsgroup: comp.os.linux.misc

    On 2/25/26 07:15, Carlos E.R. wrote:
    On 2026-02-25 12:06, c186282 wrote:
    On 2/25/26 05:22, Carlos E.R. wrote:
    On 2026-02-25 03:33, c186282 wrote:
    On 2/24/26 13:23, Carlos E.R. wrote:
    Recently there was talk here about Pascal, so I thought I would
    forward this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org> >>>>> Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC
    mailing list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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

    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre-
    configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their
    tutorial.

    On the server, it is just a set of static files, so no heavy load.
    Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned
    up a bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial mode >>>>> with manifest - Tutorial progress persistence - Submit results to
    teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded
    exercises - Inline hover annotations / code docs-a (AKA: code
    insight, the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-insert >>>>> code snippets - Unit catalog grouped by domain - Resizable split
    panes (draggable divider) - Separate console panel from DOM output
    - Resizable output iframe + presets - Use FPC itself to output wasm. >>>>>
    Other suggestions for improvements are welcome. Contributions as
    well, obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.


    -a-a Pascal was invented for 'educational purposes' - both
    -a-a for learners and as an example of how compilers can
    -a-a be done.

    Yes, yes, but the point is that they have created a web page where
    you can try to create a program and is compiled and run right there,
    without having to install anything, to make the introduction far
    easier to students and novices.

    -a-a Ummm ... there were no web pages when Pascal
    -a-a was created.


    So? We are talking of an initiative of the freepascal people. Today.

    Focus, please.

    Post was after midnight :-)

    And you mentioned Wirth's "educational" crusade, so
    mentioning that time period is fair game.

    Anyway, I'm not pissing on the FreePascal people
    at all - indeed happy to see any initiative that
    is using Pascal instead of Rust :-)

    Note also :
    https://onecompiler.com/pascal (not free)

    One of the odder places I found Pascal was in a big
    kit for developing on microcontrollers - 'MikroPascal'.
    They offered a 'C' compiler too. Speed/code-size was
    about the same for either. The company now goes by
    'Mikroe' but the orig, maybe true, parentage is Serbian.

    They still sell the big fancy all-in-one dev boards,
    but you've gotta dig just a bit :
    https://www.mikroe.com/development-boards-v8
    Fits many chips and accessories, ldc screen
    onboard, loads of jumpers and potentiometers
    and pulse generators and such. PRICE has gone
    WAY up alas. Mikro-C and MikroPascal are still
    offered, but you'd need to buy a PIC version
    and AVR version if you wanted to do both.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Thu Feb 26 21:15:03 2026
    From Newsgroup: comp.os.linux.misc

    On 2026-02-26 03:00, c186282 wrote:
    On 2/25/26 07:15, Carlos E.R. wrote:
    On 2026-02-25 12:06, c186282 wrote:
    On 2/25/26 05:22, Carlos E.R. wrote:
    On 2026-02-25 03:33, c186282 wrote:
    On 2/24/26 13:23, Carlos E.R. wrote:
    Recently there was talk here about Pascal, so I thought I would
    forward this here.


    -------- Forwarded Message --------
    Subject: [Lazarus] Live pascal
    Date: Mon, 23 Feb 2026 10:50:31 +0100 (CET)
    From: Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org> >>>>>> Reply-To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
    To: Lazarus mailing list <lazarus@lists.lazarus-ide.org>, FPC
    mailing list <fpc-pascal@lists.freepascal.org>
    CC: Michael Van Canneyt <...@freepascal.org>


    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 >>>>>>
    The latter would be useful for a teacher.

    The page tries to verify the results, and gives hints (all pre-
    configurable).

    I know that some people are trying to put together a tutorial.
    It is my hope that they will consider integrating this in their
    tutorial.

    On the server, it is just a set of static files, so no heavy load. >>>>>> Unzip, and you are ready to go.

    I will be committing the code for this in a repo once I've cleaned >>>>>> up a bit.

    Some embryonal ideas for improvements: - Step-by-step tutorial
    mode with manifest - Tutorial progress persistence - Submit
    results to teacher endpoint (will need server support)
    - Multi-file tabbed editor - Read-only code regions for scaffolded >>>>>> exercises - Inline hover annotations / code docs-a (AKA: code
    insight, the pascal LSP compiled to wasm should enable this)
    - Welcome overlay - Contextual "what next?" guidance - Quick-
    insert code snippets - Unit catalog grouped by domain - Resizable >>>>>> split panes (draggable divider) - Separate console panel from DOM >>>>>> output - Resizable output iframe + presets - Use FPC itself to
    output wasm.

    Other suggestions for improvements are welcome. Contributions as
    well, obviously.

    The page is an initial version, so be kind in your judgment :-)

    Michael.


    -a-a Pascal was invented for 'educational purposes' - both
    -a-a for learners and as an example of how compilers can
    -a-a be done.

    Yes, yes, but the point is that they have created a web page where
    you can try to create a program and is compiled and run right there,
    without having to install anything, to make the introduction far
    easier to students and novices.

    -a-a Ummm ... there were no web pages when Pascal
    -a-a was created.


    So? We are talking of an initiative of the freepascal people. Today.

    Focus, please.

    -a Post was after midnight-a :-)

    -a And you mentioned Wirth's "educational" crusade, so
    -a mentioning that time period is fair game.

    -a Anyway, I'm not pissing on the FreePascal people
    -a at all - indeed happy to see any initiative that
    -a is using Pascal instead of Rust-a :-)


    I didn't know there were efforts to make teaching of Pascal easier,
    teach to new people, as a first (programming) language. I don't know if
    the initiative will have some success, but it is at least curious.

    -a Note also :
    -a https://onecompiler.com/pascal-a (not free)

    -a One of the odder places I found Pascal was in a big
    -a kit for developing on microcontrollers - 'MikroPascal'.
    -a They offered a 'C' compiler too. Speed/code-size was
    -a about the same for either. The company now goes by
    -a 'Mikroe' but the orig, maybe true, parentage is Serbian.

    -a They still sell the big fancy all-in-one dev boards,
    -a but you've gotta dig just a bit :
    -a https://www.mikroe.com/development-boards-v8
    -a Fits many chips and accessories, ldc screen
    -a onboard, loads of jumpers and potentiometers
    -a and pulse generators and such. PRICE has gone
    -a WAY up alas. Mikro-C and MikroPascal are still
    -a offered, but you'd need to buy a PIC version
    -a and AVR version if you wanted to do both.

    --
    Cheers, Carlos.
    ESEfc-Efc+, EUEfc-Efc|;
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.os.linux.misc on Thu Feb 26 20:35:39 2026
    From Newsgroup: comp.os.linux.misc

    On Thu, 26 Feb 2026 21:15:03 +0100, Carlos E.R. wrote:

    I didn't know there were efforts to make teaching of Pascal easier,
    teach to new people, as a first (programming) language. I don't know if
    the initiative will have some success, but it is at least curious.

    Pascal had its day as a didactic language in the '80s.

    https://cacm.acm.org/blogcacm/python-is-now-the-most-popular-introductory- teaching-language-at-top-u-s-universities/

    Python seems to be the winner today. The article is from 2014 but I doubt
    the trend has changed. I do see at least one change from his table.
    Harvard's CS50 general course does use C and other languages. However they offer parallel CS50 courses with Python, R, and Scratch. The Python series
    is excellent and is free to audit. I'm not sure about Scratch. Maybe it
    says something about Harvard's DEI policies.

    https://smartupkids.com/2013/07/17/learning-to-code-kids-explore-mits- scratch-programming-language/

    --- Synchronet 3.21b-Linux NewsLink 1.2