[racket] How to associate a custom syntax color lexer with a new module language

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Jun 22 11:32:59 EDT 2012

Okay, I've pushed a change that logs errors that read-language raises
at the debug level. Hopefully it is helpful.


On Fri, Jun 22, 2012 at 9:44 AM, Jens Axel Søgaard
<jensaxel at soegaard.net> wrote:
> 2012/6/22 Robby Findler <robby at eecs.northwestern.edu>:
>> Oh, duh. You're right of course.
>> FWIW, DrRacket calls read-language on a port containing the contents
>> of the definitions window. Probably the call you're interested in is
>> in drracket/private/module-language-tools.rkt. If you see exceptions
>> being swallowed there, then probably I coudl add some logging code to
>> help others avoid these problems in the future.
> That might help. If it is a wrong-path problem, then it would
> be useful to see the path in question.
> I am seeing some strange submodule/expansion errors, so
> perhaps something is broken in my installation?
> Although I downloaded the latest pre-prerelease the other day,
> I think I'll try compiling from source (just in case).
> Thanks,
> Jens Axel

Posted on the users mailing list.