This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: reader extension
- To: Felix S Klock II <pnkfelix at MIT dot EDU>
- Subject: Re: reader extension
- From: Per Bothner <per at bothner dot com>
- Date: 19 Aug 2001 00:12:40 -0700
- Cc: kawa at sources dot redhat dot com
- References: <200108190240.WAA16345@crash-test-felix.lcs.mit.edu>
Felix S Klock II <pnkfelix@MIT.EDU> writes:
> Is there an easy way to extend/modify Kawa's reader within pure scheme
> code?
Well, there is a partial implementation of the Common Lisp readtable
API. It's not tested or documented, but it should be a good starting
point. You need to (require 'readtable) to load the functions; the
source is in gnu/kawa/slib/readtable.scm. If you would fill in the
missing pieces and debug it, that would be great. (I notice a call to
'value' which should be a call to 'values'.). A little bit of
documentation for the manual would be nice too.
The Common Lisp API is documented in the HyperSpec at
http://www.xanalys.com/software_tools/reference/HyperSpec/FrontMatter/
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/