[plt-dev] language dialog, some minor changes & bugfixes

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jan 29 16:48:41 EST 2010

On Jan 29, Robby Findler wrote:
> On Fri, Jan 29, 2010 at 3:45 PM, Eli Barzilay <eli at barzilay.org> wrote:
> > On Jan 29, Robby Findler wrote:
> >> PS: I changed the ^ in the regexp to .* so it works for things like
> >>
> >>   ;;;; fdask
> >>   #lang scheme
> >>
> >> I assume that's what you'd meant?
> >
> > Oh right.  But it's probably better to allow only whitespace, and
> > throw an error (ie, return "???") if there's some unexpected text
> > (like some language that would have a `#!' in the name).
> 
> That would make the above example break, no?

I'm thinking of something like


  #lang some-language #!bleh

where the `#!bleh' is part of the `some-language' specification.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.