Y
Hacker News
new
|
ask
|
show
|
jobs
by
avibryant
5781 days ago
Why not consider it a reader macro, and translate it to (@ foo bar) or whatever is appropriate, before applying macro expansion?
2 comments
sedachv
5779 days ago
I considered doing that, but it pretty much means rewriting the reader because it changes the grammar so much. Not that it's not possible, I just don't trust myself not to make it full of bugs.
link
gruseom
5780 days ago
Seems possible. You'd have to make . be a macro character, which would ruin dotted lists, but Parenscript doesn't have those anyway.
link