Some Interesting Exercises in Structure and Interpretation of Computer Programs
Contact me on Telegram
The program is written in racket.
You can run or test the programs via DrRacket and Scheme
MIT/GNU Scheme is an implementation of the Scheme programming language, providing an interpreter, compiler, source-code debugger, integrated Emacs-like editor, and a large runtime library. MIT/GNU Scheme is best suited to programming large applications with a rapid development cycle.
See the website for more information.
You can install DrRacket on your computer by following the instructions on DrRacket.
**In Debian (Ubuntu):**🍥
sudo apt-get install racket
**In Arch Linux:**🍤
sudo pacman -S racket #or racket-minimal
**In Gentoo Linux:**🍡
sudo emerge -av drracket
Use DrRacket to install the sicp package
like this:🕺
Open the Package Manager
: in DrRacket choose the menu "File
" then choose "Package Manager
...".
In the tab "Do What I Mean" find the text field and enter: sicp
Finally click the "Install
" button.
Test it. Make sure DrRacket has "Determine language from source" in the bottom left corner. Write the following program and click run:
#lang sicp
(inc 42)
The expected output is 43
.💫
See SICP docs for help.
Whatever Operating System you use, you can have VSCode(or other IDE) to code in.
Extentions to install:
1️⃣Magic Racket
: remember to turn to Extention Setting to change Racket path
2️⃣AyaSEditor
: extention that suits racket language(also press ctrl + \
to type λ
)
See Gentoo Linux Project: Common Lisp
Libraries As of writing, there are over two-hundred Common Lisp libraries supported in Gentoo Linux. All Common Lisp libraries in Gentoo are made available within the dev-lisp category in the Gentoo repository and the dev-lisp category in the lisp overlay
Using Common Lisp
You will need to install dev-lisp/asdf if you are planning to use Common Lisp packages or build software. Most implementations will pull that package when installed. If ASDF is not getting installed you can do it as usual
sudo emerge --ask dev-lisp/asdf
👀HEY! THERE IS A CHAT GROUP! Ask straight for chat group ;)