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

Don't offer to show lifted-core IR when it doesn't exist #36

Open
jiribenes opened this issue Nov 19, 2024 · 0 comments
Open

Don't offer to show lifted-core IR when it doesn't exist #36

jiribenes opened this issue Nov 19, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@jiribenes
Copy link
Contributor

We shouldn't offer to print lifted-core IR for versions where it doesn't exist. (≥0.4.0)
If it can't be conditional [?], then we should either produce a warning when it's selected with an old version or just remove the option altogether.

effekt-vscode/package.json

Lines 113 to 131 in e3879ce

"effekt.showIR": {
"type": "string",
"default": "none",
"enum": [
"none",
"source",
"core",
"lifted-core",
"machine",
"target"
],
"enumDescriptions": [
"Disable showing intermediate representation.",
"Show source tree after parsing.",
"Show the core intermediate representation after capability-passing transformation.",
"Show the core intermediate representation after lift inference.",
"Show the machine representation.",
"Show the generated code in the target language."
]

@jiribenes jiribenes added the good first issue Good for newcomers label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant