catala/compiler/desugared
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 Reformat 2023-09-01 16:24:27 +02:00
dependency.mli Reformat 2023-09-01 16:24:27 +02:00
desugared.mld Fix most doc errors 2023-06-02 17:17:45 +02:00
disambiguate.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
disambiguate.mli Add typing-based disambiguation pass after desugaring 2022-11-28 16:38:09 +01:00
dune Rename utils to catala_utils 2022-11-28 16:38:09 +01:00
from_surface.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
from_surface.mli Uniform naming of conversion modules across compilation passes 2022-11-22 12:08:18 +01:00
linting.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
linting.mli Update error messages 2023-03-31 14:01:04 +02:00
name_resolution.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
name_resolution.mli Rework resolution of module elements 2023-11-30 21:14:12 +01:00
print.ml Select colors for Uids upon instanciation 2023-09-01 14:41:56 +02:00
print.mli Refactoring changes after @altgr's suggestions 2023-04-18 10:31:44 +02:00