← Back to context

Comment by f1shy

7 days ago

I think a very rudimentary implementation (which is easy to understand) is in the SICP book

Even MIT Scheme was used with SICP, the Scheme implementation in the book is different from MIT Scheme.

MIT Scheme was for a long period one of the leading Scheme implementations. It lacks support for Apple Silicon, so it is not as popular now, as it once was.

https://www.gnu.org/software/mit-scheme/

  • Yes. In Apple the memory can be writable XOR executable. MIT scheme needs to write on pages that will execute, so it will trigger the MMU..

  • Install chicken scheme. Then:

           sudo chicken-install srfi-203
    
           sudo chicken-install srfi-216
    

    At ~/.csirc put:

        (import scheme)
        (import (srfi 203))
        (import (srfi 216))
    

    Now you can do nearly all the execises.