[plt-scheme] Modifying the behavior of read
I suspect there's an easy way to do this, but I've been experimenting with implenting little languages (in the manner of SICP), and have a REPL loop that calls Scheme's native read. The problem (for me) is that it won't accept attoms like #true or #false (or, thinking ahead to "The Reasoned Schemer", #s or #u). I suppose I could write my own read, but it seems like a fairly non-trivial exercise, and so I wonder if there's a way to coax read into accepting new "special" values like #true, #false, or maybe even something like #maybe.
===
Gregory Woodhouse <gregory.woodhouse at va.gov <mailto:gregory.woodhouse at med.va.gov> >
Office of Information and Technology
+1 510 768 6862
"The whole of science is nothing more than a refinement
of everyday thinking." -- Albert Einstein