You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brett hartshorn edited this page Feb 20, 2015
·
2 revisions
Experimental - Java to Rusthon Translation
you will need our fork of java2python configured to output Rusthon syntax.
requires python2.
cd
git clone https://github.com/rusthon/java2python.git
cd java2python
sudo python setup.py install
cd
wget http://www.antlr3.org/download/antlr-3.1.3.tar.gz
tar xfz antlr-3.1.3.tar.gz
cd antlr-3.1.3/runtime/Python/
sudo python setup.py install
Java to Rusthon
rusthon.py will convert java code in a markdown using java2python, if it is tagged with @java2rusthon.
classes from java can be used from Rusthon code with the c++ backend.