10

Nomally, you will get a prompt like this:

=>

where you can type in expressions for evaluation:

=> (+ 3 4)
7

But with Edwin, there is only a blinking black rectangle and nothing happens when you type in expressions.

leppie
  • 115,091
  • 17
  • 196
  • 297
Geoffrey
  • 5,407
  • 10
  • 43
  • 78

3 Answers3

14

After installing and running the MIT-GNU Scheme from the Start menu, you get two windows, Edwin *scheme* and MIT/GNU Scheme. Go to the second window and press Ctrl+U. You should get the 1 ]=> prompt right away.

mihai
  • 4,592
  • 3
  • 29
  • 42
6

On Windows "C:\Program Files (x86)\MIT-GNU Scheme\bin\mit-scheme.exe" --library "C:\Program Files (x86)\MIT-GNU Scheme\lib" --edit starts Edwin, whereas "C:\Program Files (x86)\MIT-GNU Scheme\bin\mit-scheme.exe" --library "C:\Program Files (x86)\MIT-GNU Scheme\lib" gives you a repl prompt

doctorlove
  • 18,872
  • 2
  • 46
  • 62
6

EDIT: In this manual:

section 7.5, it says:

When Edwin starts, it has one buffer: a REPL buffer called ‘*scheme*’. The command M-x repl selects this buffer, if it exists; otherwise it creates a new REPL buffer. If you want two REPL buffers, just rename the ‘*scheme*’ buffer to something else and run M-x repl again.

You can use the following also (see section 7.4 from the manual):

  • C-x C-e - evaluate s-exp before the cursor
  • M-z - evaluate the whole definition containing the cursor
  • M-: - evaluate from mini-buffer
  • C-M-z - evaluate the whole region
  • M-o - evaluate the whole buffer

(C stands for Ctrl, M for Alt on PC keyboards).

Never used it, but from this:

you should be able to get the prompt by M-x run-scheme (M-x stand for Alt-X on today's keyboards).

icyrock.com
  • 27,952
  • 4
  • 66
  • 85
  • Thanks, but I typed `ALT-x run-scheme` and got back `[No match]`. – Geoffrey Dec 11 '10 at 18:09
  • 2
    After typing the expression, I type `CTRL-x` and then `CTRL-e`. The result appears on the next line, preceded by `;Value:`. – Geoffrey Dec 11 '10 at 18:52
  • Yes, that's the evaluate function - it actually evaluates the while s-expression before. You can also use `M-:` to input it in a mini buffer - all in section 7.4, take a look at it. – icyrock.com Dec 11 '10 at 19:04