Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@ It was written to follow along with the book page by page and catalogue dependen

The PDF file of the book available from Paul Graham's site isn't so great for reading on a screen. A version with smaller margins and the missing figures re-added can be found [here](http://www.lurklurk.org/onlisp/onlisp.html).

An online HTML version of the book, minus graphical figures, can be found [here](http://dunsmor.com/lisp/onlisp/onlisp.html).
An online HTML version of the book, minus graphical figures, can be found [here](http://lisp.esthlos.com/onlisp/on_lisp.html).
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The book index links are broken in this version, but the HTML book itself appears to be intact


This code has been tested on SBCL, CCL, CLISP, and ECL. The simplest way to get it up and running is to install [Quicklisp](https://www.quicklisp.org) and clone this repository into your `quicklisp/local-projects` directory.

Beginner's GNU/Linux quickguide, for those just starting with Lisp:

Have one of the tested Lisps installed on your system ( SBCL, CCL, CLISP or ECL ). Rlwrap is also suggested for ease of console use, but not required [available here]( https://github.com/hanslub42/rlwrap )
Install quicklisp and make sure it loads every time by following instructions in the installer or web-page `( ql:add-to-init-file )`
By default, quicklisp installs to your home directory. For example, in terminal execute:

`cd ~/quicklisp/local-projects/`

`git clone https://github.com/DalekBaldwin/on-lisp/`

`sbcl `

`(ql:quickload "on-lisp")`

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the instructions to load the individual chapters be added?i.e.
To load chapter 3, execute
(in-package on-lisp.03)
You can then execute functions from that chapter, for example
(good-reverse '(1 2 3))
Use printf to see more about the function
(printf (good-reverse ))


To test that Your Lisp flavor is compatible with the On Lisp code, run the included on-lisp-test. It will download required libraries if not installed on the system, that might take some time. Execute the following in your REPL to run the test

`(ql:quickload "on-lisp-test")`