Re:Meta-syntactic programming with Racket: string interpolation
by elibarzilay on Wednesday May 03, 2017 @12:54PM
(#14257614)
You could have used the scribble reader (the @-expression syntax, not to be confused with the full documentation system). But you'd also then find that there is a more robust way to get what you implement with a simple definition:
[ Parent
| on HN ]
Re:Meta-syntactic programming with Racket: string interpolation
by klibertp on Friday May 05, 2017 @10:21AM
(#14273614)
Yes! This is why I chose to use #@ instead of @, to avoid conflict with at-exp reader. As noted below by moron4hire, the @-exp reader is the better solution for this problem. I concentrated on providing an example of how to extend the reader, not on making an example of a useful or needed extension. I should have probably written this on top of the post...
Anyway, thanks for reading!