pollen/mode reader
#88
Open
opened 3 years ago by otherjoel
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
In
mode.rkt
I was interested to see thatpollen/mode
still does a lot of work to make the reader work with Racket 6.0/6.1 because of changes in the at-exp reader that happened in 6.2. @mbutterick do you remember what changed in 6.2? Are there subtle differences in the surface syntax allowed by#lang pollen/mode
compared with post-6.2#lang at-exp
(besides the command character)? If not, is all of this still necessary now that Pollen no longer supports anything earlier than 6.3?I don’t remember what specifically changed in 6.2. But yes, judging from that comment it’s safe to amend that file just to import the necessary function from Racket.
I was able to cut a lot of code out of
pollen/mode
(see9a838418e7
). Maybe it can be cut down farther. But the pieces remaining seem necessary because theat-exp
metalanguage wasn’t designed to be customized with a different command character, so a certain amount of copying & pasting seems unavoidable.