Question

I've been learning to use the GNU Emacs lately and have developed quite an interest in using the same as my text editor to replace text editors in my Linux Mint Olivia. I've also been watching MIT videos on Structural Interpretation of Computer Programs and am interested try my hand at LISP to solve problems like the ones that are there at project Euler. I have tried a lot to search on the internet for how to write and execute LISP programs in Emacs, some like the ones that are shown in MIT lectures. I've tried the 'lisp-mode', 'lisp-interaction-mode', etc. but no luck.

Any help would be higly appreciated.

Était-ce utile?

La solution 3

Finally settled with MIT-Scheme (http://www.gnu.org/software/mit-scheme). One can do all the exercises shown in SICP lectures there.

OR

You could use lisp-interaction-mode in Emacs, and move thru evaluating statements.

Autres conseils

If you're looking for REPL way, you can use M-x ielm, which is a built-in Emacs Lisp REPL

If you want to just compile the lisp file and execute the code, you can check this problem I asked recently.

I installed the Quack mode for emacs (the counterpart of DrRacket) for doing HtDP/SICP stuff. It's worked and been prettier than the DrRacket GUI.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top