Compiling Java to PLT Scheme
Kathryn E. Gray, Matthew Flatt · 2004
Our experimental compiler translates Java to PLT Scheme; it enables the use of Java libraries within Scheme programs, and it makes our Scheme programming tools available when programming with Java. With our system, a programmer can extend and use classes from either language, and Java programmers can employ other Scheme data by placing it in a class using the Java native interface. PLT Scheme’s class-system, implemented with macros, provides a natural target for Java classes, which facilitates interoperability between the two languages, and PLT Scheme’s module maintains Java security restrictions in Scheme programs. Additionally, module’s restrictions provide a deeper understanding of a Java compilation unit and make Java’s implicit compilation units explicit.
Cited by 7 works.
Authors
References
- The Java Language Specification
- DrScheme: A pedagogic programming environment for scheme
- Modular object-oriented programming with units and mixins
- Composable and compilable macros:
- ProfessorJ
- SISC: A Complete Scheme Interpreter in Java
- Compiling scheme to JVM bytecode:
- SILK - a playful blend of Scheme and Java
- Compilation statique de Java