MethodHandles for Kawa and other functional languages?
Helmut Eller
eller.helmut at gmail.com
Thu Sep 30 03:48:38 PDT 2010
* Alessio Stalla [2010-09-30 07:44] writes:
> InvokeDynamic.#"SOME-LISP-PACKAGE:FOO"(...)
>
> and in the bootstrap method, roughly,
>
> ...
> Symbol sym = readFromString(methodName);
> MethodHandle mh = sym.getSymbolFunctionOrDie().asMethodHandle();
> ...
Just out of curiosity: what do you do if the package was renamed (say
from SOME-LISP-PACKAGE to ANOTHER-LISP-PACKAGE) before the bootstrap
method gets executed?
Helmut
More information about the mlvm-dev
mailing list