Skip to content

Instantly share code, notes, and snippets.

@joa
Created June 14, 2015 20:23
Show Gist options
  • Select an option

  • Save joa/2bae89a286ce2a54928b to your computer and use it in GitHub Desktop.

Select an option

Save joa/2bae89a286ce2a54928b to your computer and use it in GitHub Desktop.

Revisions

  1. joa created this gist Jun 14, 2015.
    20 changes: 20 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    // 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;
    }
    }