forked from M-Labs/artiq
bfabca494b
Unification-based inference for regions is useful with a language that has let bindings (which would propagate the regions) and functions polymorphic over regions. For reasons of simplicity, ARTIQ has neither, and making unification-based inference work would essentially mean adding region coercions between most AST nodes, and having every source subexpression have its own region variable, with the appropriate subtyping relationship. It's simpler to just keep that state outside of typedtree. |
||
---|---|---|
.. | ||
compiler | ||
coredevice | ||
devices | ||
frontend | ||
gateware | ||
gui | ||
language | ||
master | ||
protocols | ||
py2llvm_old | ||
sim | ||
test | ||
transforms | ||
wavesynth | ||
__init__.py | ||
tools.py |