jrust 0.2.0

A Rust macro that parses Java-like syntax and runs it as a Rust program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[macro_use]
extern crate jrust;

java! {
    package main;

    public class Main {
        public static void main(String[] args) {
            // Notice how accessing the length is with .length, and how no
            // casts are needed!

            int length = (args.length);
            for ((int i = 0;); (i < length); (i++;)) {
                System.out.println(args[i]);
            }
        }
    }
}