catala/compiler/scopelang
Louis Gesbert 3649f92975 Rework resolution of module elements
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.
2023-11-30 21:14:12 +01:00
..
ast.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
ast.mli Rework resolution of module elements 2023-11-30 21:14:12 +01:00
dependency.ml Typing defaults: making the compiler adhere to the new type discipline 2023-11-27 11:06:01 +01:00
dependency.mli Simplification: store paths in Uids 2023-08-31 18:31:48 +02:00
dune Rename utils to catala_utils 2022-11-28 16:38:09 +01:00
from_desugared.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
from_desugared.mli Refactoring for cleaner exception graph building 2023-04-18 11:06:58 +02:00
print.ml Reformat 2023-11-27 11:09:08 +01:00
print.mli Implement module lookups for scopes, structs, and enums 2023-08-31 17:54:39 +02:00
scopelang.mld Fix most doc errors 2023-06-02 17:17:45 +02:00