Created
January 20, 2011 09:55
-
-
Save xinuc/787673 to your computer and use it in GitHub Desktop.
generated java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated from array.mirah | |
public class Array extends java.lang.Object { | |
private static java.util.List ary; | |
public static void main(java.lang.String[] argv) { | |
java.util.Iterator __xform_tmp_1 = null; | |
java.lang.Object a = null; | |
Array.ary = java.util.Collections.unmodifiableList(java.util.Arrays.asList(1, 2, 3, 4, 5, 6)); | |
__xform_tmp_1 = Array.ary.iterator(); | |
label1: | |
while (__xform_tmp_1.hasNext()) { | |
a = __xform_tmp_1.next(); | |
label2: | |
{ | |
java.io.PrintStream temp$3 = java.lang.System.out; | |
temp$3.println(a); | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ary = [1,2,3,4,5,6] | |
@ary.each do |a| | |
puts a | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment