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

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Jan 29 16:45:41 EST 2010

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'll let you fiddle for now, if you want. I'm off to the train.

Robby


Posted on the dev mailing list.