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 | ||
dependency.ml | ||
dependency.mli | ||
dune | ||
from_desugared.ml | ||
from_desugared.mli | ||
print.ml | ||
print.mli | ||
scopelang.mld |