forked from M-Labs/artiq
1
0
Fork 0
artiq/artiq/compiler
whitequark bfabca494b Remove regions from types.
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.
2015-07-02 22:55:12 +03:00
..
testbench Style fixes. 2015-07-02 22:38:55 +03:00
transforms Move transforms.MonomorphismChecker to validators.MonomorphismValidator. 2015-07-02 21:54:31 +03:00
validators Remove regions from types. 2015-07-02 22:55:12 +03:00
__init__.py Move transforms to artiq.compiler.transforms, add artiq.Module. 2015-07-02 19:35:35 +03:00
asttyped.py Add MonomorphismChecker. 2015-07-02 21:28:26 +03:00
builtins.py Rename package py2llvm to compiler. 2015-06-29 20:15:22 +03:00
module.py Remove regions from types. 2015-07-02 22:55:12 +03:00
prelude.py Rename package py2llvm to compiler. 2015-06-29 20:15:22 +03:00
types.py Remove regions from types. 2015-07-02 22:55:12 +03:00