Install lisp on my linux machine

前端 未结 4 2115
悲哀的现实
悲哀的现实 2021-02-19 11:44

I use Vim as my editor. \"Practical common Lisp\" suggest installing Lispbox, I don\'t know how to use emacs, don\'t know how to run lisp code with that T.T after that i find li

4条回答
  •  温柔的废话
    2021-02-19 12:11

    You can learn lisp using the idioms you're used to from other languages (editing, compiling, running). In the long run, lisp offers other choices, which you may come to prefer.

    So long as Vim will balance ()'s as you type, it has the only feature you really need in your editor.

    Eventually, you might well choose to look into SLIME (which needs emacs), but it's certainly not necessary to get started.

    You can choose any 'Common Lisp' implementation (of which clisp appears to be one you already have). Some will compile to a standalone binary (as you may be used to from C like toolchains), but most will depend on the runtime the lisp comes with, even when the .lisp file is compiled (similar to Java, Python, etc).

    You can lookup 'compile-file' in your lisp's documentation to see how to compile .lisp files. Common Lisp's include the compiler in the language runtime.

提交回复
热议问题