curry.backends.py.materialize module

class curry.backends.py.materialize.Materializer(interp)[source]

Bases: object

materialize(iobj)[source]
materializeEx(iobj)[source]
class curry.backends.py.materialize.Trampoline(callback, slot=None)[source]

Bases: object

materialize()[source]
curry.backends.py.materialize.compile_pending(moduleobj)[source]

Compiles every step function of moduleobj that was left to its first call. Every symbol of the module is registered, so a function may refer to any function of the module.

curry.backends.py.materialize.getimpl(symbol)[source]

The source of the step function of symbol: the text of a step compiled in this process, or the source of the function in the generated module or in the library of built-ins. A step left to its first call is compiled now. Raises ValueError when there is no step or no source.

curry.backends.py.materialize.materialize(interp, iobj, moduleobj)[source]
curry.backends.py.materialize.materializeStepfunc(interp, ifun)[source]

JIT-compiles a Python step function.