This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
Re: Best way to interface Java?
- To: kawa at sourceware dot cygnus dot com
- Subject: Re: Best way to interface Java?
- From: "Nic Ferrier" <nferrier at tapsellferrier dot co dot uk>
- Date: Wed, 21 Jun 2000 23:10:06 +0100
>>> Per Bothner <per@bothner.com> 21-Jun-00 9:03:47 PM >>>
>Consider doing what SAX does: Define a
>DocumentHandler class (or use the SAX version),
>and pass such a handler to your parser:
>(parser
> (object (<org.xml.sax.HandlerBase>)
> ((text (arg :: <string)) <void> (print-text arg))
> ...))
Yes of course... ignoring the obvious.
I do hope to support SAX with this (at some point in the future) but
for now I'll declare a simple module that either Scheme or Java can
extend.
That is "schemey" enough.
Nic