• Learning FORTH by example - LOTTO program for eFORTH

    From Marc Petremann@21:1/5 to All on Wed Mar 8 09:23:22 2023
    Good morning,

    The best way to learn the FORTH language is to have a complete, well-documented and well-explained code example.

    This is what I'm doing here:

    https://eforth.arduino-forth.com/article/examples_lotto

    In this article, all the FORTH codes in the examples have a built-in help function. If a word in this code is colored, it can be clicked to access the online help.....

    It is by wanting to explain how this contextual help works (in PHP) that I have the displeasure of being ejected from FORTH2020 on Facebook....

    I think this approach of providing self-documenting code is a real added value to help apprentice programmers in FORTH to understand the code.

    For those who want to know how it works, it's explained here: https://esp32.arduino-forth.com/article/highlightFORTHwithPHP

    The complete development of these scripts in PHP took me an afternoon.

    Best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)