Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created January 27, 2013 12:26
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 jnthn/4648146 to your computer and use it in GitHub Desktop.
Save jnthn/4648146 to your computer and use it in GitHub Desktop.
> type x.nqp
my knowhow A {
method m() { nqp::say("omg method") }
}
A.m();
> nqp nqp-jvm-cc.nqp --setting=NULL --javaclass=OMGClass --output=OMGClass.class --target=classfile x.nqp
> java -cp .;bin;3rdparty/bcel/bcel-5.2.jar OMGClass
omg method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment