Lisp/Scheme interpreter without Emacs?

前端 未结 12 1568
我在风中等你
我在风中等你 2021-01-31 20:15

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, s

相关标签:
12条回答
  • 2021-01-31 20:57

    Checkout CLISP wiki-link that ie. was used by Paul Graham

    Direct link

    0 讨论(0)
  • 2021-01-31 21:02

    Most scheme interpreters that I am familiar with can be run from the command line. (Much of the list below is extracted from the comparative table at Alexey Radul's Scheme Implementation Choices page. There is a more extensive list at schemewiki but that page does not immediately provide command-line invocation syntax.)

    Here's how you run a number of implementations at the command line:

    • Chez Scheme: scheme, petite

    • MIT Scheme: mit-scheme

    • Scheme 48: scheme48

    • RScheme: rs

    • Racket: racket (But I recommend trying the DrRacket IDE, especially for beginners.)

    • Guile: guile

    • Bigloo: bigloo

    • Chicken: csi

    • Gambit: gsi

    • Gauche: gosh

    • IronScheme: IronScheme.Console

    • Kawa: kawa, java kawa.repl

    • Larceny: larceny

    • SCM: scm

    0 讨论(0)
  • 2021-01-31 21:02

    It seems like scheme shell is suitable for your purpose. Take a look at http://www.scsh.net/index.html

    0 讨论(0)
  • 2021-01-31 21:03

    If you are looking for Scheme to work with the SICP, take a look at MIT/GNU Scheme

    http://groups.csail.mit.edu/mac/projects/scheme/

    http://www.gnu.org/software/mit-scheme/index.html

    0 讨论(0)
  • 2021-01-31 21:03

    Another good dialect of lisp is cmucl. They used to love to brag about being the "fastest" lisp.

    0 讨论(0)
  • 2021-01-31 21:04

    @Nathan: I've upmodded the Common Lisp links, because you asked about Lisp (especially with reference to Emacs Lisp). However, Common Lisp is very different from Scheme. A program written for one is unlikely to run on the other.

    As you mentioned, SICP is for learning Scheme, not Lisp (or at least, not Common Lisp and not Emacs Lisp). There are some overlap in principles, however you can't simply cut and paste code from SICP and expect it to run on any Common Lisp or Emacs Lisp system. :-)

    0 讨论(0)
提交回复
热议问题