Re: A convenient java connection

"Kjetil S. Matheussen" <[email protected]> Mon, 19 Feb 2007 02:15:40 +0100 (CET)
Newsgroups gmane.comp.java.sisc.user
Message-ID <Pine.LNX.4.64.0702190159230.5102@ttleush>

On Sun, 11 Feb 2007, Kjetil Svalastog Matheussen wrote:

>
> Hi,
>
> I have just used sisc for a few days, but so far its been a wonderful
> experience. Thank you very much for a great scheme implementation!
>
> So far I have made some functions and macros to make interfacing with java
> convenient. The current implementation can be optimized a lot, but its
> already very nice, I think.
>
> http://www.notam02.no/~kjetism/javaoo.tar.gz
>


Hi again,

I updated the package so that the overhead of creating new objects is 
minimized as much as possible, reduced memory usage as much as 
possible, removed the necessity of the java-import macro, and it doesn't 
pollute the global namespace anymore.

I think this package is very nice now, and I don't think so only because i 
made it. :-)



But I have some questions. Hopefully this won't be too much text.


1. How do I check whether two classes are equal? I checked the manual, but 
I only found some information about how to compare objects.
Currently I'm using equal, like this: (equal? jclass <jlong>). Is that 
okay?

2. Is there any way to get error-linenumbers or backtrace when something 
went wrong in a proxy generator procedure? I can only get a java 
exception, which isn't telling me much.

3. Is there a less verbose macroexpander than sc-expand? For my use its 
expanding more than I need to see.


Thanks,


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV