Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lisp/Scheme interpreter without Emacs?

Tags:

lisp

scheme

I've been wanting to teach myself Lisp for a while. However, all the interpreters of which I've heard involve some flavor of emacs. Are there any command line interpreters, such that I could type this into the command line:

lispinterpret sourcefile.lisp

just like I can run perl or python.

While I'd also like to become more familiar with Emacs (if only not to be frustrated when I work with somebody who uses Emacs), I'd rather decouple learning Emacs from learning Lisp.

Edit: I actually want to follow SICP which uses Scheme, so an answer about Scheme would be more useful. I'm just not that familiar with the differences.

like image 316
Nathan Fellman Avatar asked Aug 13 '08 11:08

Nathan Fellman


2 Answers

You could also try DrScheme, which whilst not exactly a standalone interpreter, isn't emacs :)

It's basically a simple IDE that has an area to type in code that can be executed as a file, and then another area that is the running interpreter that you can interact with.

(Also, find the UC Berkeley CS61A podcasts and listen to them, as well as reading SICP)

like image 139
Matthew Schinckel Avatar answered Sep 22 '22 07:09

Matthew Schinckel


It looks like Steel Bank Common Lisp (SBCL) also caters to what you want:

http://www.sbcl.org/manual/#Shebang-Scripts

SBCL is both top rate and open source.

like image 40
John with waffle Avatar answered Sep 18 '22 07:09

John with waffle