Closed andr1972 closed 1 year ago
For C++:
make libfut.cpp
For Java:
Whole fut
will not work yet, see #48.
There is no one-to-one relationship between the Fusion and Java sources. Since AST.fu
depends on Lexer.fu
, you should transpile them together:
mkdir ../fut-java
fut -l java -o ../fut-java Lexer.fu AST.fu
I've just ported fut
to Java. Install JDK 21 and build with:
make java/GenBase.java
make FUT_HOST=java
I install gcc-13 with libstdc++
and compile and install Fur by make.
I don't notice intermediate files. If I transpile:
is OK, but
I have errors:
How to transpile fut sources to Java or C++?