Live data from Hacker News

Paradigms of Artificial Intelligence Programming (1992)

github.com

1–10 of 83 posts

Re: Paradigms of Artificial Intelligence Programming (1992)

#3

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

emacs is the easiest but you can try lispworks personal edition or allegro common lisp (they have a web ide IIRC)

there’s portacle which combines emacs with a lisp environment

Re: Paradigms of Artificial Intelligence Programming (1992)

#4

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

Emacs would be a fine choice, but is not mandatory, if you can live with less support for parens found in other editors. Emacs traditionally excels at working with lispy languages and REPLs.

I started working through the book, but did not feel like using Common Lisp. Instead I used GNU Guile. I am not very far in the book yet, but so far I was able to translate between Common Lisp and Scheme easily.

So for me the way to set things up was to install GNU Guile. I did that via GNU Guix package manager. However, GNU Guix can also install SBCL, so that you could use Common Lisp as the book does. SBCL is also in many distros' repositories.

Re: Paradigms of Artificial Intelligence Programming (1992)

#5

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

Emacs would be a fine choice, but is not mandatory, if you can live with less support for parens found in other editors. Emacs traditionally excels at working with lispy languages and REPLs. I started working through the book, but did not feel like using Common Lisp. Instead I used GNU Guile. I am not very far in the book yet, but so far I was able to translate between Common Lisp and Scheme easily. So for me the way…

do you think elisp will work for this book? or would one need to implement unique common lisp features in elisp? or will elisp just be too slow

Re: Paradigms of Artificial Intelligence Programming (1992)

#6

Earlier quoted context omitted.

Emacs would be a fine choice, but is not mandatory, if you can live with less support for parens found in other editors. Emacs traditionally excels at working with lispy languages and REPLs. I started working through the book, but did not feel like using Common Lisp. Instead I used GNU Guile. I am not very far in the book yet, but so far I was able to translate between Common Lisp and Scheme easily. So for me the way…

do you think elisp will work for this book? or would one need to implement unique common lisp features in elisp? or will elisp just be too slow

most of it should work in elisp, note that elisp and common lisp have different semantics for IF.

you might find some variances later on. also elisp doesn’t have as nice a debugging environment as SLIME so I’d honestly recommend just setting up common lisp

Re: Paradigms of Artificial Intelligence Programming (1992)

#8

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

Emacs would be a fine choice, but is not mandatory, if you can live with less support for parens found in other editors. Emacs traditionally excels at working with lispy languages and REPLs. I started working through the book, but did not feel like using Common Lisp. Instead I used GNU Guile. I am not very far in the book yet, but so far I was able to translate between Common Lisp and Scheme easily. So for me the way…

this is ridiculous for a first reading. its the same as telling someone to use common lisp for sicp. why? maybe on a second or third reading for fun but to digest this book just use a well supported language like common lisp for which the book was written

Re: Paradigms of Artificial Intelligence Programming (1992)

#9
It's weird that it still feels like this is almost something I'm 'supposed' to know and at some point work my way through. (Maybe because it was on the brink of still being relevant when I got interested in programming in middle school.) Kind of a relief to realize that this for sure is no longer something you're expected to know whatsoever.
Post reply on HN