Examples and exercises with Lisp and an application to AI.
The repository its subdivided into two parts, the first part its an introduction to Lisp here you can find a bunch of exercises to understand the sintaxis of Common Lisp. (There have been many versions of Lisp, I used Common Lisp which is the most widely accepted standard).
The second part is a list of IA exercises clearly documented; contains a short description of the problem ,the algorithm to solve it, input and output of each function.
For the project I worked with SBCL compiler, SLIME to run and compile easily the code and Spacemacs as my editor.
FInally, here is an explanation why I´d used Lisp for AI.
- Install "SBCL"
- Install "SLIME"
- Install "Spacemacs"
- Open your Spacemacs.
- Press
ctrl x
and typeslime
. - Open a lisp file.
- Press
ctrl-c-p
after function to compile it:(defun Hello() (list 'Hellow_World))
. - Press again
ctrl-c-p
after the usage of function:(Hello)
. - See the result.
(HELLOW_WORLD)
.
- Open your Spacemacs.
- Press
ctrl x
and typeslime
. - Open a lisp file.
- Press
ctrl-c-k
at the end of the file. - See the result.
- Reyes Fragoso Roberto - Portfolio