This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Newbie question
- To: Kawa Mailing List <kawa at sourceware dot cygnus dot com>
- Subject: Newbie question
- From: "s.blomberg" <nhi965 at abdn dot ac dot uk>
- Date: Tue, 22 Aug 2000 15:27:17 +0100 (BST)
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