Re: [racket-users] Readers and Namespaces

2017-08-18 Thread Matthew Butterick
> On Aug 17, 2017, at 10:11 PM, Alexis King wrote: > > This is, for > better or for worse, currently a no-no in Racket — syntax objects > produced by a #lang’s reader are supposed to only have source locations > and syntax properties on them, not lexical context. Supposed to, yes. But AFAIK thi

[racket-users] Readers and Namespaces

2017-08-17 Thread Sam Waxman
I've recently run into some ambiguous identifier errors while writing a reader, and I'm not sure how to solve them. The situation is as follows: I've created a version of "let" in one file. I'd like my reader to call it whenever the user types something like a = 3 body ... which should be rea