APrioriInvestments / typed_python

An llvm-based framework for generating and calling into high-performance native code from Python.
Apache License 2.0
198 stars 8 forks source link

Compiled generators can't handle non-default-initializable instances #410

Open braxtonmckee opened 1 year ago

braxtonmckee commented 1 year ago

The generator wants to actually hold an instance which it constructs when the generator is construct. We need to rewrite it to not need such an instance.

See generator_codegen.py.