lljvm-translator icon indicating copy to clipboard operation
lljvm-translator copied to clipboard

Adds a compile interface for Python methods

Open maropu opened this issue 7 years ago • 0 comments

e.g.,

val clazz = LLJVMClassLoader.loadClassFromBytecode(
    className = "GeneratedClass", 
    bitcode = PythonFunc.compile(
       s"""def pyfunc(x, y):
          |  return x + y
        """
    ))
...

maropu avatar Feb 28 '18 01:02 maropu