Skip to content

Remove requirement for meta-modules #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vincent-botbol
Copy link
Collaborator

@vincent-botbol vincent-botbol commented May 20, 2025

This PR removes the need for meta-module declaration by scanning workspaces during initialization.
This scanning step attempts to discover a clerk file per workspace and analyze its hierarchy and inclusion rules so that error in included files are propagated correctly which was previously done by manual declaration (as clerk meta-modules which we aim to remove).

This work still lacks some dynamic features that allow to maintain a consistent project hierarchy that I aim to improve as we properly define a structure for a Catala/clerk project.

Also, it displays a proper error when a module usage is ambiguous (i.e., when two modules with the same names are valid candidates)

Depends on CatalaLang/catala#815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant