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

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

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).

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

Posted on the dev mailing list.