Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Sam Tobin-Hochstadt
On Thu, Oct 20, 2011 at 9:29 AM, Robby Findler wrote: > On Thu, Oct 20, 2011 at 8:25 AM, Sam Tobin-Hochstadt > wrote: >> I've certainly wanted this in the past.  Ryan came up with some tricks that >> made it easier, but I think a separate REPL that basically ran >> (begin-for-syntax (print e)) w

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Eli Barzilay
An hour and a half ago, Robby Findler wrote: > On Thu, Oct 20, 2011 at 2:08 AM, Eli Barzilay wrote: > > > > Well, at this point you're talking about an optimization that > > happens to be possible because of the on-line check syntax.  But I > > still think that there is too many differences betwee

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 8:25 AM, Sam Tobin-Hochstadt wrote: > I've certainly wanted this in the past.  Ryan came up with some tricks that > made it easier, but I think a separate REPL that basically ran > (begin-for-syntax (print e)) would be a very nice addition. > > I'm also with Eli in thinking

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Sam Tobin-Hochstadt
I've certainly wanted this in the past. Ryan came up with some tricks that made it easier, but I think a separate REPL that basically ran (begin-for-syntax (print e)) would be a very nice addition. I'm also with Eli in thinking that this should be separate from online check syntax, unless we make

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 8:16 AM, Matthias Felleisen wrote: > > On Oct 20, 2011, at 8:21 AM, Robby Findler wrote: > >> I also believe that we don't support these programs well as it is. > > I didn't program with closures until I experienced them in Scheme 84 in 1984. > Perhaps people haven't progra

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Matthias Felleisen
On Oct 20, 2011, at 8:21 AM, Robby Findler wrote: > I also believe that we don't support these programs well as it is. I didn't program with closures until I experienced them in Scheme 84 in 1984. Perhaps people haven't programmed in syntax REPLs because there aren't any. But then again, perha

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Robby Findler
On Thu, Oct 20, 2011 at 2:08 AM, Eli Barzilay wrote: > 7 hours ago, Robby Findler wrote: >> On Wed, Oct 19, 2011 at 6:56 PM, Eli Barzilay wrote: >> > >> > But this is very different from what the online check syntax is >> > doing, and the current problem of letting the output go to the >> > conso

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Eli Barzilay
7 hours ago, Robby Findler wrote: > On Wed, Oct 19, 2011 at 6:56 PM, Eli Barzilay wrote: > > > > But this is very different from what the online check syntax is > > doing, and the current problem of letting the output go to the > > console still needs to be solved.  (And IMO, it should be > > disc

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
On Wed, Oct 19, 2011 at 6:56 PM, Eli Barzilay wrote: > An hour and a half ago, Robby Findler wrote: >> On Wed, Oct 19, 2011 at 4:47 PM, Matthias Felleisen >> wrote: >> > >> > On Oct 19, 2011, at 5:30 PM, Robby Findler wrote: >> >> >> >> I imagine it would work as by having an alternative to "run"

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Eli Barzilay
An hour and a half ago, Robby Findler wrote: > On Wed, Oct 19, 2011 at 4:47 PM, Matthias Felleisen > wrote: > > > > On Oct 19, 2011, at 5:30 PM, Robby Findler wrote: > >> > >> I imagine it would work as by having an alternative to "run" that > >> would just put you somehow into level 1. > > > > Th

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
On Wed, Oct 19, 2011 at 4:47 PM, Matthias Felleisen wrote: > > On Oct 19, 2011, at 5:30 PM, Robby Findler wrote: > >> That sounds cool to me. Now that I think about it, I think we used to >> have something like this (it was a mixin tied to a specific language, >> not something that worked for all

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Matthias Felleisen
On Oct 19, 2011, at 5:30 PM, Robby Findler wrote: > That sounds cool to me. Now that I think about it, I think we used to > have something like this (it was a mixin tied to a specific language, > not something that worked for all #lang languages) but it was back > before we had the macro system t

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
That sounds cool to me. Now that I think about it, I think we used to have something like this (it was a mixin tied to a specific language, not something that worked for all #lang languages) but it was back before we had the macro system to support it, I think. I imagine it would work as by having

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Eli Barzilay
A few minutes ago, Matthias Felleisen wrote: > > The first step would be a compile-time IO console. > > The second step would be a compile-time interaction mode. > This would fit right in with Ryan's past work. It would mean > compile the Def Window (as in CS) and make for-syntax values > avail

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Matthias Felleisen
The first step would be a compile-time IO console. The second step would be a compile-time interaction mode. This would fit right in with Ryan's past work. It would mean compile the Def Window (as in CS) and make for-syntax values available at the repl for experimentation. Then again, I might

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
With a REPL? That's a lot more than I had been thinking about. I'm not sure how to do it, either. Robby On Wed, Oct 19, 2011 at 4:12 PM, Matthias Felleisen wrote: > > May I propose a compile-time interaction window in drracket? -- Matthias > > > > On Oct 19, 2011, at 5:08 PM, Robby Findler wrote

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Matthias Felleisen
May I propose a compile-time interaction window in drracket? -- Matthias On Oct 19, 2011, at 5:08 PM, Robby Findler wrote: > Well, when you do IO at compile time there isn't really a good place > to put it (at least not at the moment) so instead of making a good > place to put it, I just let i

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
Well, when you do IO at compile time there isn't really a good place to put it (at least not at the moment) so instead of making a good place to put it, I just let it go to drracket's stdout. Probably reasonable to consider this a bug. Robby On Wed, Oct 19, 2011 at 4:06 PM, Matthias Felleisen wr

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Matthias Felleisen
Yeap, I have live CS running all the time. Interesting effect. On Oct 19, 2011, at 5:02 PM, Robby Findler wrote: > Probably when you were running check syntax? (Or maybe when it was > being run for you?) > > Robby > > On Wed, Oct 19, 2011 at 4:01 PM, Matthias Felleisen > wrote: >> >> I am

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Robby Findler
Probably when you were running check syntax? (Or maybe when it was being run for you?) Robby On Wed, Oct 19, 2011 at 4:01 PM, Matthias Felleisen wrote: > > I am running the silly program below (no meaning), and on occasion I see the > output of the *** line in the console from where I launched

[racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-19 Thread Matthias Felleisen
I am running the silly program below (no meaning), and on occasion I see the output of the *** line in the console from where I launched drracket. 5.2.0.1 from 10/16 #lang racket (require (for-syntax syntax/parse)) (define-for-syntax (postfix stx word stem) (datum->syntax stx (string->sym