[gambit-list] modifying the reader?

Marc Feeley feeley at iro.umontreal.ca
Fri Mar 18 15:04:43 EDT 2011


There is much more extensibility in the Gambit reader.  Much of it is not documented because the API is not simple.  If you tell me what you want to do I'll give you instructions.

Marc


On 2011-03-18, at 2:41 PM, mikel evins wrote:

> Marc,
> 
> Is the readtable API that is documented in the Gambit manual the full extent of Gambit's support for customizing the reader?
> 
> One of my projects is a novel Lisp implementation. I have a working reader, but it occurred to me that piggybacking on the mature and well-debugged Gambit reader might be a sensible approach. I thought it might mean fewer bugs to fix with less work than maintaining my own reader.
> 
> I don't see how to support the lexical syntax I need using only the documented API, though.
> 
> If the reader's full API is as documented, I'll just continue to maintain my own reader, but if it's possible to make additional modifications, I might switch to relying on Gambit's reader with my mods.
> 
> (Before anyone helpfully suggests various lexing and parsing tools, I'm already aware of them, thanks.)
> 
> --me



More information about the Gambit-list mailing list