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

Generate lake project #4748

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

Generate lake project #4748

wants to merge 11 commits into from

Conversation

tothtamas28
Copy link
Contributor

  • Make cookiecutter a runtime dependency
  • Add logic for project generation
  • Add integration test for project generatiion

@tothtamas28 tothtamas28 marked this pull request as ready for review January 30, 2025 16:33
Comment on lines +64 to +65
defn = KoreDefn.from_definition(definition)
defn = defn.project_to_rewrites()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add an option to have here a filter_rewrites call before project_to_rewrites?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Is it OK if this happens in the next PR that introduces a CLI for this?

@JuanCoRo
Copy link
Member

How does the workflow of generating the Lean files look like? A user will run a k command on a kompiled definition, and that will output a Lean 4 project containing the generated Lean files. Is this correct? Is there anything I'm missing? Thanks!

@tothtamas28
Copy link
Contributor Author

How does the workflow of generating the Lean files look like?

The user kompiles a K definition, then points the Python script to the definition directory to generate the lake project from it.

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

Successfully merging this pull request may close these issues.

2 participants