Skip to content

Latest commit

 

History

History
101 lines (69 loc) · 4.3 KB

README.md

File metadata and controls

101 lines (69 loc) · 4.3 KB

Symbolic Computation

This repository contains exercises for the book "Common Lisp - A Gentle Introduction to Symbolic Computation" as well as other useful resources.

Chapters and functions covered in them

How to run the examples

Just execute the command sbcl to open sbcl and then load the file you want (load "book-exercises/chapter1.lisp"). This will make all functions in that file available for you in your console.

Chapter 1

Arithmetic functions: +, -, *, /, ABS, SQRT.
Predicates: NUMBERP, SYMBOLP, ZEROP, ODDP, EVENP, <, >, EQUAL, NOT

Chapter 2

List Functions: FIRST, SECOND, THIRD, FOURTH, REST, CAR, CDR, CONS, LIST, LENGTH.
Compositions of CAR and CDR: CADR, CADDR, and so on.
Predicates: LISTP, CONSP, ATOM, NULL.

Chapter 3

The Evaluator: EVAL.
Macro function for defining new functions: DEFUN.
Special function: QUOTE.

On Symbolic Computation

What is symbolic computation and the REPL
SBCL Eval implementation
Symbol class and its five properties

On Common Lisp

Wonderful road-map for learning common lisp.
Common Lisp tutorial Series by rabbibotton (creator of CLog).
Common Lisp Object System.

Study Order:

Other Resources:

Environment Setup

Installing Common Lisp + Emacs + Slime on MacOS (all platforms).
.

Emacs keybinds

  • C-c k

Community

Fukamachi
Shirakumo
Steve Losh
defungames
Kaveh Kardan.
David Botton (rabbibotton).
Hayley Patton.
vindarel
Vsevolod Dyomkin ruricolist

Relevant community Projects

General pages/blogs/etc

Exercices sites

  • hackerrank

Racket

Scheme