This is the mail archive of the kawa@sources.redhat.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]

Newbie question


Hi,

I'm new to Java, and new to kawa although I have done some Lisp
programming before. I want to write my GUI code in Java, and write the
underlying number-crunching code in kawa. But I need to know how to call
the scheme code from java. So assuming I have some simple scheme code such
as:

(define Hworld (lambda () (display "Hello World!\n")))

Is it a simple matter of creating it as a java class using the -C
directive in kawa? If so, how do I call it from java? Please help out a
newbie!

Thanks,

Simon.

PS I am using CodeWarrior 5 for Java on a Macintosh, with the latest JVM
version.

S. P. Blomberg 
Dept of Zoology
University of Aberdeen 
Aberdeen, AB24 2TZ, UK. s.blomberg@abdn.ac.uk


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