• Max Probst lisp interpreter modified for classes

    From none) (albert@21:1/5 to All on Fri Jun 2 10:54:42 2023
    EXISTING

    I have published a fork of Mark Probst ("schani") in https://github.com/albertvanderhorst/forthlisp
    That solved a few bugs, and I removed the reliance on
    gforth library struct's by adding a struct.fs that is
    supposedly standard ISO.

    I wanted to run the coins.scm program as a test.
    That means adding: or else eval < =
    These are to be found in more.scm and more.frt .
    Now this lisp can calculate how many ways there are
    to change a dollar. (100 cents).

    Last but not least I add .symtab (lisps "WORDS"), .l,
    inc and ev to make it easier to test. See the readme.

    CLASS INSTEAD OF STRUCT

    The improved version is available since 5 years. I now added a version
    that is shamelessly dependant on ciforth's objects and stored in the shamelessly named "advanced" subdirectory.
    It required an addition to the class wordset. gforth structs uses
    <object fieldname>. In order not to change too much I added M:r to
    define a method that uses that stack diagram.
    (Normally my classes work with a current object. )

    TO RUN

    If you have unpacked a lina archive in the working directory
    (or even have installed a lina system wide),
    you can do (deo volente)
    make lispl
    make test testall testoriginal

    Available via release 3 in
    https://github.com/albertvanderhorst/ciforth

    (comes to think of it, it should work with wina as well
    make testoriginal FORTH=wina.exe # not tested
    )

    Groetjes Albert
    --
    Don't praise the day before the evening. One swallow doesn't make spring.
    You must not say "hey" before you have crossed the bridge. Don't sell the
    hide of the bear until you shot it. Better one bird in the hand than ten in
    the air. First gain is a cat spinning. - the Wise from Antrim -

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