www.delorie.com/gnu/docs/kawa/kawa-tour   search  
 
Buy GNU books!


Kawa: Compiling Scheme to Java

[Top] [Contents] [Index] [ ? ]

Kawa: Compiling Scheme to Java

Kawa: Compiling Scheme to Java by Per Bothner <bothner@cygnus.com>, Cygnus Solutions

Abstract:

Kawa is an implementation of the Scheme programming language written entirely in Java. It compiles Scheme procedures into Java bytecode classes, either on-the-fly, or in batch mode for later use. Kawa also includes a full Scheme run-time environment written in an object-oriented style, with class hierarchies for collections, procedures, and the full numeric "tower."

This paper gives an overview of the features of Kawa. It concentrates on the compiler, and how Scheme values are represented by Java objects. The paper is structured as a "tour" of the Java classes used in the implementation.

1.0 Introduction  
1.1 Background  
1.2 Objects and Values  
1.3 Symbols  
1.4 Numbers  
1.5 Mixed-type arithmetic  
1.6 Quantities  
1.7 Collections  
1.8 Procedures  
1.9 Overview of compilation  
1.10 Top-level environments  
1.11 Expressions  
1.12 Translation  
1.13 Syntax and Macros  
1.14 Code generation  
1.15 The codegen package  
1.16 Literals  
1.17 Low-level procedures  
1.18 Continuations  
1.19 Tail-calls  
1.20 Classes, types, and declarations  
1.21 Current and Future Work  
1.22 Conclusion  
1.23 Biographical Information  


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2010   by The Free Software Foundation     Updated Jul 31 2010  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)