This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Best way to interface Java?


>>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]