Skip to content

Instantly share code, notes, and snippets.

@joa
Created June 14, 2015 20:23
Show Gist options
  • Save joa/2bae89a286ce2a54928b to your computer and use it in GitHub Desktop.
Save joa/2bae89a286ce2a54928b to your computer and use it in GitHub Desktop.
// java source
public static void main(String[] args) {
for(int i = 0; i < 10; ++i) {
System.out.println(Color.normalize(255));
System.out.println(i);
}
}
// defrac js
main = function(args){
var _0, _1;
defrac_util_Color.lazyclinit;
_0 = java_lang_System.out;
_1 = 0;
while(_1 < 10) {
_0.println_F_V(1);
_0.println_I_V(_1);
_1 = _1 + 1 | 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment