Infinite loop attempting to read Scheme interpreter output

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
bradwood
Posts: 5
Joined: Mon Apr 30, 2007 9:14 pm

Infinite loop attempting to read Scheme interpreter output

Post by bradwood »

Trying to use Textpad with a scheme interpreter command line utility. When the first one resulted in an endless loop (SISC), I tried another (Larceny) with the same result.

I set up a new tool to run a dos command or program and capture output. I run the tool against my current code file and I get the results I expect (a scheme "hello world") followed by endless lines in the output reading (for SISC - don't know exactly what Larceny reports because I can't stop the tool from running), "Error in read-code: error reading from port '#<character-input-port>': The handle is invalid".

Adding the command to exit the execution loop in the interpreter in my code does nothing.

Hoping someone can tell me what I'm missing...
bradwood
Posts: 5
Joined: Mon Apr 30, 2007 9:14 pm

Post by bradwood »

Disregard - stupid - the interpreter needed an extra parameter to exit the REPL loop after processing my code file.
Post Reply