Re: [racket-dev] [plt] Push #23273: master branch updated

2011-08-16 Thread Matthew Flatt
I think I have a repair for the bug, but I'm still checking. At Tue, 16 Aug 2011 21:17:39 -0400, Eli Barzilay wrote: > 30 minutes ago, Casey Klein wrote: > > No, the build failure is due to this bug: > > > > http://bugs.racket-lang.org/query/?cmd=view&pr=12116 > > > > I'd be happy to avoid build

Re: [racket-dev] [plt] Push #23273: master branch updated

2011-08-16 Thread Eli Barzilay
30 minutes ago, Casey Klein wrote: > No, the build failure is due to this bug: > > http://bugs.racket-lang.org/query/?cmd=view&pr=12116 > > I'd be happy to avoid building redex/tests/compiler temporarily, but > I don't know how to do that, short of removing it from the > repository entirely. You

Re: [racket-dev] [plt] Push #23273: master branch updated

2011-08-16 Thread Casey Klein
On Tue, Aug 16, 2011 at 7:48 PM, Casey Klein wrote: > No, the build failure is due to this bug: > > http://bugs.racket-lang.org/query/?cmd=view&pr=12116 > > I'd be happy to avoid building redex/tests/compiler temporarily, but I > don't know how to do that, short of removing it from the repository

Re: [racket-dev] [plt] Push #23273: master branch updated

2011-08-16 Thread Casey Klein
No, the build failure is due to this bug: http://bugs.racket-lang.org/query/?cmd=view&pr=12116 I'd be happy to avoid building redex/tests/compiler temporarily, but I don't know how to do that, short of removing it from the repository entirely. On Tue, Aug 16, 2011 at 7:39 PM, Stephen Chang wrot

Re: [racket-dev] [plt] Push #23273: master branch updated

2011-08-16 Thread Stephen Chang
I'm getting some compile errors. Is it due to this checkin? raco setup: post-installing: mzcom raco setup: post-installing: mzscheme raco setup: post-installing: racket/gui raco setup: raco setup: error: during making for redex/tests/compiler raco setup: compile: identifier used out of context i

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Paul Ojanen
I find Mathematica's Help/Demo/Tutorial pages to be exemplary documentation for new and experienced users. (I'm thinking of what you get from pressing F1 in the desktop app rather than the online Demonstrations website, which is itself vast and cool.) Most topics have many demos where each is act

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Matthias Felleisen
On Aug 16, 2011, at 5:42 PM, Sam Tobin-Hochstadt wrote: > On Tue, Aug 16, 2011 at 5:31 PM, Matthias Felleisen > wrote: >> >> Eli is right in principle. I sense that we are facing the same kind of >> problems we faced when we created mixins and then again when we created >> continuation marks.

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Sam Tobin-Hochstadt
On Tue, Aug 16, 2011 at 5:31 PM, Matthias Felleisen wrote: > > Eli is right in principle. I sense that we are facing the same kind of > problems we faced when we created mixins and then again when we created > continuation marks.  We need annotations time and again and they couple parts > of ou

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Eli Barzilay
6 minutes ago, Matthias Felleisen wrote: > > Eli is right in principle. I sense that we are facing the same kind > of problems we faced when we created mixins and then again when we > created continuation marks. We need annotations time and again and > they couple parts of our system more closely

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Matthias Felleisen
Eli is right in principle. I sense that we are facing the same kind of problems we faced when we created mixins and then again when we created continuation marks. We need annotations time and again and they couple parts of our system more closely than necessary. Problem is, we don't seem to se

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Eli Barzilay
Four minutes ago, John Clements wrote: > > On Aug 16, 2011, at 5:10 PM, Eli Barzilay wrote: > > > A possible conclusion would be that it's useful to know these kind > > of things about an expanded piece of syntax, and therefore more > > macros should do that -- but that's unrelated from the stepp

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread John Clements
On Aug 16, 2011, at 5:10 PM, Eli Barzilay wrote: > Three minutes ago, John Clements wrote: >> >> On Aug 16, 2011, at 4:41 PM, Eli Barzilay wrote: >> >>> Earlier today, Stephen Chang wrote: It seems like most people agree that it's ok to add stepper syntax properties to lazy rack

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Eli Barzilay
Three minutes ago, John Clements wrote: > > On Aug 16, 2011, at 4:41 PM, Eli Barzilay wrote: > > > Earlier today, Stephen Chang wrote: > >> > >> It seems like most people agree that it's ok to add stepper syntax > >> properties to lazy racket. > > > > I agree with that in general while developm

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread John Clements
On Aug 16, 2011, at 4:41 PM, Eli Barzilay wrote: > Earlier today, Stephen Chang wrote: >> >> It seems like most people agree that it's ok to add stepper syntax >> properties to lazy racket. > > I agree with that in general while development is ongoing, but > eventually it should be disconnected

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Eli Barzilay
15 minutes ago, Matthias Felleisen wrote: > > Go look at all the examples at the CodeMirror site. > All allow you to edit. Some evaluate. Which ones? (The only thing I see is the HTML editor, but that evaluation is done locally by your browser, so that "evaluation" is basically just injecting

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Matthias Felleisen
On Aug 16, 2011, at 2:52 PM, Eli Barzilay wrote: > 7 minutes ago, Neil Van Dyke wrote: >> Eli Barzilay wrote at 08/16/2011 02:20 PM: >>> Isn't this just a JS-based editor? >> >> CodeMirror a rather nice JS-based text editor for programming >> languages, as JS-based text editors for programming l

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Eli Barzilay
Earlier today, Stephen Chang wrote: > > It seems like most people agree that it's ok to add stepper syntax > properties to lazy racket. I agree with that in general while development is ongoing, but eventually it should be disconnected too. > The problem is that the lazy language is split betwe

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Neil Van Dyke
Eli Barzilay wrote at 08/16/2011 02:52 PM: 7 minutes ago, Neil Van Dyke wrote: Well, if you wanted to support FS operations and FFI, and you have a spare server with the virtualization helper CPU instructions, This sounds way too expensive for something public. If you wanted to

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-16 Thread Stephen Bloch
Wouldn't it be even better to put curly-braces around the body of the C macro, so people using it don't have to know that it expands into multiple statements? Stephen Bloch sbl...@adelphi.edu _ For list-related administrative tasks: http://lists

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Eli Barzilay
7 minutes ago, Neil Van Dyke wrote: > Eli Barzilay wrote at 08/16/2011 02:20 PM: > > Isn't this just a JS-based editor? > > CodeMirror a rather nice JS-based text editor for programming > languages, as JS-based text editors for programming languages go, > and includes a Scheme language mode. I di

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Neil Van Dyke
Eli Barzilay wrote at 08/16/2011 02:20 PM: Isn't this just a JS-based editor? CodeMirror a rather nice JS-based text editor for programming languages, as JS-based text editors for programming languages go, and includes a Scheme language mode. Danny Yoo has used CodeMirror in the implemen

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-16 Thread Vincent St-Amour
Here's the simplest example I could come up with: In `dummy.rkt': #lang s-exp "dummy-lang.rkt" In `dummy-lang.rkt': #lang racket/base (provide (rename-out (module-begin #%module-begin))) (require (for-syntax racket/base)) (define-syntax (module-begin stx) #'(#%module-

Re: [racket-dev] Fwd: ace?

2011-08-16 Thread Eli Barzilay
6 hours ago, Matthias Felleisen wrote: > > Here is a site that comes with demos/shots that are simple and yet > interactive and thus impressive. I am wondering whether we could > turn our little code snippets into stuff that people can run and > possibly even modify and run. We may have to 'cheat'

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-16 Thread Matthew Flatt
It's difficult to say more than that `free-identifier=?' could return the wrong result if the internal representation of one identifier's lexical context is just right. The representation difference has to do with whether syntax-object operations internally lead to a list or a vector of consecutive

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-16 Thread Jon Rafkind
Oh sorry, I meant how did the bug manifest itself in racket programs. On 08/16/2011 11:02 AM, Jay McCarthy wrote: > The C macro expanded into more than a single expression, but there was > no {} after the else, so the latter expressions always ran. > > This is a great example :) > > Jay > > On Tue

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-16 Thread Jay McCarthy
The C macro expanded into more than a single expression, but there was no {} after the else, so the latter expressions always ran. This is a great example :) Jay On Tue, Aug 16, 2011 at 11:00 AM, Jon Rafkind wrote: > What was the bug? :) > > On 08/16/2011 10:43 AM, mfl...@racket-lang.org wrote:

Re: [racket-dev] [plt] Push #23267: master branch updated

2011-08-16 Thread Jon Rafkind
What was the bug? :) On 08/16/2011 10:43 AM, mfl...@racket-lang.org wrote: > mflatt has updated `master' from d05f138ed2 to 311d55b5cf. > http://git.racket-lang.org/plt/d05f138ed2..311d55b5cf > > =[ 1 Commits ]== > > Directory summary: > 1

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Matthew Flatt
At Tue, 16 Aug 2011 12:25:10 +0200, Marijn wrote: > > I noticed that text-fields are now missing their right border. Might be > > related to your fix. > > > > Marijn > > There seems to be some positioning error, as text-fields are now > displayed on top of their labels. Thanks for the report! I'

[racket-dev] Fwd: ace?

2011-08-16 Thread Matthias Felleisen
Here is a site that comes with demos/shots that are simple and yet interactive and thus impressive. I am wondering whether we could turn our little code snippets into stuff that people can run and possibly even modify and run. We may have to 'cheat' and use WhaleSong in the background to power

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Marijn
> I noticed that text-fields are now missing their right border. Might be > related to your fix. > > Marijn There seems to be some positioning error, as text-fields are now displayed on top of their labels. Sample program: #lang racket/gui (define root (new frame% (label "Test"))) (new text-f

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/16/11 10:43, Marijn wrote: > On 08/13/11 15:01, Matthew Flatt wrote: >> At Thu, 11 Aug 2011 14:20:23 +0200, Marijn wrote: >>> On 06/21/11 09:50, Marijn wrote: On 06/20/11 18:29, Matthew Flatt wrote: > I think I've found the problem and p

Re: [racket-dev] strange/wrong placement and sizing in racket/gui

2011-08-16 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/11 15:01, Matthew Flatt wrote: > At Thu, 11 Aug 2011 14:20:23 +0200, Marijn wrote: >> On 06/21/11 09:50, Marijn wrote: >>> On 06/20/11 18:29, Matthew Flatt wrote: I think I've found the problem and pushed a fix. >>> >>> Thanks for the qu