catala/compiler/catala_utils
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
..
catala_utils.mld Match the compiler code to the new type of error message content 2023-07-12 11:55:11 +02:00
cli.ml Clerk improvements 2023-11-30 21:14:12 +01:00
cli.mli Clerk improvements 2023-11-30 21:14:12 +01:00
dune Reformat 2023-09-27 13:14:38 +02:00
file.ml Clerk improvements 2023-11-30 21:14:12 +01:00
file.mli Clerk improvements 2023-11-30 21:14:12 +01:00
map.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
mark.ml Add an explain plugin 2023-07-11 17:33:56 +02:00
mark.mli Reformat 2023-09-01 16:24:27 +02:00
message.ml Better indications for the user : 2023-07-12 16:32:55 +02:00
message.mli Clerk improvements 2023-11-30 21:14:12 +01:00
pos.ml Reformat 2023-09-27 13:19:04 +02:00
pos.mli Reformat 2023-09-01 16:24:27 +02:00
string.ml Add some helper functions in a wrapper Map module 2023-07-12 11:51:15 +02:00
string.mli Add some helper functions in a wrapper Map module 2023-07-12 11:51:15 +02:00
suggestions.ml Better indications for the user : 2023-07-12 16:32:55 +02:00
suggestions.mli Better indications for the user : 2023-07-12 16:32:55 +02:00
uid.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
uid.mli Rework resolution of module elements 2023-11-30 21:14:12 +01:00