Re: [racket] "Which topic categories would you like to subscribe to?"...

2012-06-22 Thread Eli Barzilay
Three hours ago, Don Green wrote: > How do I select "topic categories"? Where do I define "topic > categories"? > > Under Racket list serve settings I see the following setting: > > "Which topic categories would you like to subscribe to?" |No Topics > Defined| Sub-topics is a mailman feature th

[racket] "Which topic categories would you like to subscribe to?"...

2012-06-22 Thread Don Green
How do I select "topic categories"? Where do I define "topic categories"? Under Racket list serve settings I see the following setting: "Which topic categories would you like to subscribe to?" |No Topics Defined| Clicking on the box containing the words "No Topics Defined", does nothing. Do I n

Re: [racket] Can I post answers to questions on users@...?

2012-06-22 Thread Don Green
One way to post a reply is by the gmane interface to this racket list serve, then selecting the options: Action, then Follow Up. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] read-language (was: How to associate a custom syntax color lexer with a new module language)

2012-06-22 Thread Robby Findler
On Fri, Jun 22, 2012 at 1:27 PM, Stephen Chang wrote: >> 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, th

[racket] how must I interpreted this exercise

2012-06-22 Thread Roelof Wobben
Hello, I try to make this exercise : Exercise 76: A programmer has chosen to represent locations as Cartesian points or just points: ;Location is one of: ;--Posn ;--Number ;interp. Posn are positions on the Cartesian grid, ;Numbers are positions on the number line Design the f

[racket] read-language (was: How to associate a custom syntax color lexer with a new module language)

2012-06-22 Thread Stephen Chang
> 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

Re: [racket] A simple lexer question

2012-06-22 Thread Danny Yoo
On Wed, Jun 20, 2012 at 1:26 AM, Gregory Woodhouse wrote: > I want to write a rule that will recognize strings in a language (MUMPS) that > doubles double quotes as a means of escaping them. For example "The double > quote symbol is \"." would be "The double quote symbol is ""." and "\"" would

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

2012-06-22 Thread Robby Findler
Okay, I've pushed a change that logs errors that read-language raises at the debug level. Hopefully it is helpful. Robby On Fri, Jun 22, 2012 at 9:44 AM, Jens Axel Søgaard wrote: > 2012/6/22 Robby Findler : >> Oh, duh. You're right of course. >> >> FWIW, DrRacket calls read-language on a port co

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

2012-06-22 Thread Jens Axel Søgaard
2012/6/22 Robby Findler : > 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

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

2012-06-22 Thread Robby Findler
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 logg

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

2012-06-22 Thread Jens Axel Søgaard
That might be it. I thought that the get-info business avoided the need of an info.rkt file. Thanks, Jens Axel 2012/6/22 Robby Findler : > One thing that's easy to forget is to re-run 'raco setup' to register > the info.rkt's keys. > > Robby > > On Fri, Jun 22, 2012 at 9:08 AM, Danny Yoo wrote:

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

2012-06-22 Thread Robby Findler
One thing that's easy to forget is to re-run 'raco setup' to register the info.rkt's keys. Robby On Fri, Jun 22, 2012 at 9:08 AM, Danny Yoo wrote: >> However it seems that DrRacket never calls the get-info function in question. >> To check this, I added a displayln call to print a message each g

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

2012-06-22 Thread Jens Axel Søgaard
Hi Danny, 2012/6/22 Danny Yoo : >> However it seems that DrRacket never calls the get-info function in question. >> To check this, I added a displayln call to print a message each get-info >> is called, and I never see any output from this. > > Odd; I'm seeing output!  So I can't duplicate what yo

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

2012-06-22 Thread Danny Yoo
> However it seems that DrRacket never calls the get-info function in question. > To check this, I added a displayln call to print a message each get-info > is called, and I never see any output from this. Odd; I'm seeing output! So I can't duplicate what you're seeing: DrRacket appears to be run

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

2012-06-22 Thread Jens Axel Søgaard
Hi All, I have implemented a #lang language called bracket. The language is installed as a collection with the raco link command. soegaard$ /Applications/Racket\ Full\ v5.3.0.11/bin/raco link -l User links: collection: "bracket" path: "/Users/soegaard/Dropbox/GitHub/bracket/bracket" Installatio