문제

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.

도움이 되었습니까?

해결책 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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top