Skip to content

Instantly share code, notes, and snippets.

@headius
Created November 12, 2008 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/24291 to your computer and use it in GitHub Desktop.
Save headius/24291 to your computer and use it in GitHub Desktop.
◆ bin/dubyc -e "a = 1; a; 1; 1 + 1; a + a"
[headius @ cnutter:~/projects/duby]
◆ javap -c dash_e
Compiled from dash_e
public class dash_e extends java.lang.Object{
public static void main(java.lang.String[]);
Code:
0: iconst_1
1: istore_0
2: iconst_1
3: iconst_1
4: iadd
5: pop
6: iload_0
7: iload_0
8: iadd
9: pop
10: return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment