Skip to content
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

Default Behavior for Lemma File and Module Import in Kontrol #2274

Open
RaoulSchaffranek opened this issue Jan 25, 2024 · 0 comments
Open

Default Behavior for Lemma File and Module Import in Kontrol #2274

RaoulSchaffranek opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RaoulSchaffranek
Copy link
Member

I propose a default setting enhancement for lemma files and module imports for the kontrol build command.
Current Requirement:

If a user wants to include project-specific lemmas, he must explicitly specify the lemmas file and module import on each build, like so:

kontrol build --require lemmas.k --module-import CronTwoTest:CRON-TWO-LEMMAS

Proposed Default Behavior:

The new behavior turns this configuration into a convention:

  1. We let --require default to project-lemmas.k.
  2. We let--module-import default to PROJECT-LEMMAS.
  3. We auto-create project-lemmas.k with an empty PROJECT-LEMMAS module if not present. (Maybe we could even add a simple lemma here, so users have a template to start from).
  4. We emit a warning/error if PROJECT-LEMMAS module is missing (e.g. because a user deleted it).

This simplifies the process, benefiting users by reducing repetitive command-line specifications.

@yale-vinson yale-vinson added the enhancement New feature or request label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants