Loading AI tools
From Wikipedia, the free encyclopedia
Kawa is a language framework written in the programming language Java that implements the programming language Scheme, a dialect of Lisp, and can be used to implement other languages to run on the Java virtual machine (JVM). It is a part of the GNU Project.
Family | Lisp |
---|---|
Designed by | Per Bothner |
Developer | The Kawa Community |
First appeared | 10 June 1996[1] |
Stable release | |
Implementation language | Java, Scheme |
Platform | Java virtual machine |
OS | Cross-platform |
License | MIT |
Website | www |
Influenced by | |
Lisp, Scheme |
The name Kawa comes from the Polish word for coffee; a play on words, since Java is another familiar name for coffee.
Kawa is notable as one of the few programming languages with support for units of measure in the form of quantities.
Besides using the language Scheme, Java object fields and methods can be accessed using code such as: (invoke object 'method argument ...)
. This will invoke a Java method, and does the same thing as object.method(argument, ...)
in Java. An object's fields can be accessed with: object:field-name
or (invoke object 'field-name)
. Static (class) methods can be invoked with the function invoke-static
. Kawa can be extended with Java code (by creating scheme functions in Java), and combined with other JVM implementations.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.