What is the best Scheme implementation for working through SICP?

后端 未结 8 1241
南笙
南笙 2020-12-04 09:30

I have been using PLT Scheme, but it has some issues. Does anyone know of a better implementation for working through SICP?

8条回答
  •  日久生厌
    2020-12-04 09:46

    This was suprisingly annoying to get done on macOS. Here's how it works as of today, assuming you have Homebrew. (Might want to run brew update once in a while).

    brew cask install racket
    raco setup  # might be optional
    raco pkg install sicp
    

    Now you can (require sicp) or simply run

    racket -l sicp --repl
    

    Which you might want to abbreviate to scheme. In bash that'd be

    alias scheme='racket -l sicp --repl'
    

    which you can add to your ~/.bashrc

提交回复
热议问题