Re: [racket-users] Readtable extensions and syntax coloring in DrRacket

2017-05-02 Thread brendan
Hi Andrew. Thanks, I do know about the here string syntax, and it's part of why I'm not willing to put much effort into fixing the lexer. :) William, udelim is neat and may be useful for me, so thanks for mentioning it. On Monday, May 1, 2017 at 6:48:12 PM UTC-4, Andrew Gwozdziewycz wrote: > Hi

Re: [racket-users] Readtable extensions and syntax coloring in DrRacket

2017-05-01 Thread William G Hatch
I would also like to know about this. For what it's worth, I also have an extension for literal strings (the udelim package, and I've been behind using «guillemets» as nestable literal string quotes), and I haven't figured out how to extensibly change the coloring either. One of my more

Re: [racket-users] Readtable extensions and syntax coloring in DrRacket

2017-05-01 Thread Andrew Gwozdziewycz
Hi Brendan, I'm wondering if you tried the here string syntax for your use case, which other than the fact that it requires a couple of newlines seems similar in vein to what you were going for (e.g. it doesn't escape anything)? ```racket > #< wrote: > I wrote a little Racket meta-language that

[racket-users] Readtable extensions and syntax coloring in DrRacket

2017-05-01 Thread brendan
I wrote a little Racket meta-language that adds a dispatch macro to the readtable for typing string literals without escape characters. You start with two or more #'s followed by any non-# character, then the actual string content, then end with the same non-# character and the same number of