[racket-dev] current-read-interaction

2011-09-15 Thread Jon Rafkind
For Honu I set up the `current-read-interaction' procedure to read a string of characters ended by a newline and to parse that with `honu-read-syntax'. This leads to two issues 1. this works on the command line but in drracket after typing '1' and pressing enter the prompt never comes back and

Re: [racket-dev] current-read-interaction

2011-09-15 Thread Matthew Flatt
At Thu, 15 Sep 2011 16:05:58 -0600, Jon Rafkind wrote: For Honu I set up the `current-read-interaction' procedure to read a string of characters ended by a newline and to parse that with `honu-read-syntax'. [...] 2. I wanted to make ctrl-d quit the repl immediately so I look for an

Re: [racket-dev] current-read-interaction

2011-09-15 Thread Robby Findler
I guess that you're returning something to DrRacket that it is interpreting as success and then (perhaps evaluating and) asking the reader again and again. It is hard to say, tho, without seeing what honu-read-syntax does. Of course, it could also be a bug somewhere. Can you make a little program