JVM Languages
jqa0701.txt
Associated article: What is Moka?
Tags: JVM Languages
Published source code accompanying the article by Christophe de Dinechin in which he discusses Moka, a Java-to-Java compiler that lets you extend Java to add features the language currently does not support.
Java Q&A
by Christophe de Dinechin
Example 1:
tone Point : CodaTerminal {
Point(int xx, int yy): x(xx), y(yy) {}
ref int x;
ref int y;
};
Example 2:
void performer(Offset) (CodaTerminal *left, CodaTerminal *right);
void perform(Offset, CodaInteger) (CodaInteger *...


