Re: Java API

Raymond Martin <[email protected]> Sun, 12 Feb 2006 16:56:56 +0000
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
Hi Yann,

On Saturday 11 February 2006 19:56, Yann LeCun wrote:
> > I saw something on the lush homepage about a Java API, but I have not seen
> > anything in the code or documentation about that. Did I miss
> > something?
> 
> 3 or 4 years ago, Fu Jie Huang (jhuangfu) wrote an interface to the
> Java VM (so you could call Java from Lush). somehow, this never made
> it into the Lush package.  I don't remember why. There might have been
> some installation issues or something.
> 

Okay, I'll try to contact him on that.

It looks to me that it is possible to extend CLush to accommodate java via
the gcc java functionality in gcj. This should enable the use of java libraries
(.class or .jar).

On another note, I have come across an implementation of hierarchical packaging
for CL like what is used in java. 

What about something similar in Lush?

Maybe wrapping libload in some way so that it can provide something more like java/python
for those who want it:

(import lush.standard.compat) -> (libload "compat.lsh")

(import lush.packages.alsa) -> (libload "alsa")

(import net.sf.lush.ogre.helptool) -> (libload "libogre/helptool.lsh")


Raymond

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642