catala/compiler/dcalc
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 Improve integration of marks into the main AST 2023-05-17 17:37:00 +02:00
ast.mli Improve integration of marks into the main AST 2023-05-17 17:37:00 +02:00
dcalc.mld Last typo 2023-06-03 15:32:38 +02:00
dune Build: remove unnecessary ppx on dcalc, lcalc 2023-05-17 14:08:32 +02:00
from_scopelang.ml Rework resolution of module elements 2023-11-30 21:14:12 +01:00
from_scopelang.mli Uniform naming of conversion modules across compilation passes 2022-11-22 12:08:18 +01:00
invariants.ml replace let _ by let () or add type annotation 2023-09-09 22:02:39 +02:00
invariants.mli Cleanliness and aesthetics 2023-04-18 15:45:30 +02:00