mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
3649f92975
This changes the `decl_ctx` to be toplevel only, with flattened references to uids for most elements. The module hierarchy, which is still useful in a few places, is kept separately. Module names are also changed to UIDs early on, and support for module aliases has been added (needs testing). This resolves some issues with lookup, and should be much more robust, as well as more convenient for most lookups. The `decl_ctx` was also extended for string ident lookups, which avoids having to keep the desugared resolution structure available throughout the compilation chain. |
||
---|---|---|
.. | ||
ast.ml | ||
ast.mli | ||
dcalc.mld | ||
dune | ||
from_scopelang.ml | ||
from_scopelang.mli | ||
invariants.ml | ||
invariants.mli |