On Mar 20, 2011, at 3:50 PM, Marc Feeley wrote:
Nice, Marc; thanks very much.
Gambit's readtables can already be configured to accept the syntax :foo for keywords (prefix keywords). The implementation of qualified names can be done by checking if the symbol that is read contains a colon. Note that the handling of qualified names is probably best done by your compiler, so if it was me, I would simply let bar:foo pass through as a single token.
Yes; that's the way the current reader handles all names.
Gambit's reader already has support for [ ... ] and { ... } . A keyword is attached to each type of parentheses, and if it is non false, it will be added at the head of the list. In other words, if the keyword attached to [ ... ] is value-sequence, them [1 2 3] will be read as (value-sequence 1 2 3).
Perfect.
I'll test the code soon and come crying to you if I have any problems. Thanks very much for the help!
--me