Kawa is a language framework written in Java that implements the programming language Scheme, and can be used to implement other languages. It is a part of the GNU Project. The name "Kawa" comes from the Polish word for coffee – a play on words, since Java is another familiar name for coffee.
Kawa is a language framework written in Java that implements the programming language Scheme, and can be used to implement other languages. It is a part of the GNU Project.
The name "Kawa" comes from the Polish word for coffee – a play on words, since Java is another familiar name for coffee.
Integration with Java:
Besides using the Scheme programming language, you can access Java object fields and methods, using code like this:
(invoke object 'method argument ...)
This will invoke a Java method, and does the same thing as object.method(argument, ...) in Java. You can access an object's fields with:
object:field-name
or
(invoke object 'field)
You can also invoke static (class) methods with the function "invoke-static". You can extend Kawa with Java code (creating scheme functions in Java), as well as combine Kawa with other JVM implementations.
For further details refer the below sites: