STR-36: Implementation of external strategy definitions in Java (gcj)
GCJ is pretty usable these days. It allows Java programs to be compiled to native code. It might be interesting to investigate the possibilities of implementing external definitions in Java using the Java ATerm library.
By using GCJ is should be possible to invoke this code directly from native Stratego programs. We need to implement an interface between the Java ATerm Library and the C ATerm library for this. It might even be possible to use the C ATerm library from Java by implementing an native interface for GCJ, which seems to be much more attractive then JNI.
Submitted on 26 March 2004 at 12:46
Issue Log
STR-36, martin:
CNI documentation:
http://gcc.gnu.org/onlinedocs/gcj/About-CNI.html
STR-36, martin:
First experiments at this point are available at:https://svn.cs.uu.nl:12443/repos/StrategoXT/trunk/experimental/stratego-gcj/
You need to have gcj to run the example. I need to add actual Java en Stratego code of course.
Log in to post comments