Compile lisp / scheme in Notepad++

10,708

Solution 1

I second Charlie's recommendation. Get Emacs and SLIME. On Windows, I might get CLISP if SBCL gives any trouble. Also, Lispworks Personal Edition has got a pretty cool IDE, you could try that.

Solution 2

I'd consider picking up NT EMACS instead. Does all that stuff, free, and if you get bored you can always run M-x psychoanalyze-pinhead.

If you're really doing Scheme, have a look at Drscheme.

Solution 3

Like others, I suggest using Emacs for Common Lisp. The easiest way to get started is Lispbox, which is Emacs + Slime + some Common Lisp implementation all fully featured and already configured.

For Scheme, the easiest way to get started is DrScheme.

Solution 4

If you really want to use Notepad++, its plugin SDK might be worth a look. You could write a small Notepad++ plugin that uses ECL to provide an on board Lisp REPL, and by defining a set of callbacks from Lisp to the plugin SDK, you can have the coziness of Notepad++ with the scriptability of Emacs. Just an idle thought.

Links:

Solution 5

Just install CLISP, open up a command window, go to the folder where your source files are and execute:

CLISP sourceFile

You can ease this process by creating a hotkey in notepad++ and a batch file.
(You might need something to keep the console window open too)

Share:
10,708
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin almost 2 years

    I'm pretty much into lisp at the moment, and unfortunately i'm only available to code on windows. Is is possible to let Notepad++ take care of the interpreting of my scripts, and display the output in the compiler window?

    If yes, what interpreter would be the best to use?

    Thanks!

  • Svante
    Svante over 15 years
    How do you interact with the REPL this way?
  • Tamara Wijsman
    Tamara Wijsman over 15 years
    Make sure that you stay inside CLISP, just read the documentation on possibilities. (Another possibility is copy pasting code automatically to a CLISP REPL window)