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

Annotate transpiled files with the version of Axel used to generate them, and don't allow macro imports from incompatible versions #62

Open
jgrosso opened this issue Sep 24, 2019 · 0 comments
Assignees
Labels
improvement Adding a new feature, improving an existing feature, etc. macro expansion Anything related to Axel macro expansion. proposal Ideas for future improvement, that aren't (yet) concretely agreed upon.

Comments

@jgrosso
Copy link
Collaborator

jgrosso commented Sep 24, 2019

If e.g. the macro definition semantics changes significantly between Axel versions, importing macros from old versions of Axel may cause incorrect behavior. Should we tag files with e.g. axelTranspilerVersion = "0.0.12" and then, whenever a macro is imported, import axelTranspilerVersion too and check its compatibility?

Also, what would an upgrade process look like? Presumably, "Delete the old Haskell file* and re-run Axel"?

*Maybe with e.g. axel project clean --force, see #59.

@jgrosso jgrosso added proposal Ideas for future improvement, that aren't (yet) concretely agreed upon. improvement Adding a new feature, improving an existing feature, etc. labels Sep 24, 2019
@jgrosso jgrosso added the macro expansion Anything related to Axel macro expansion. label Oct 28, 2022
@jgrosso jgrosso self-assigned this Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Adding a new feature, improving an existing feature, etc. macro expansion Anything related to Axel macro expansion. proposal Ideas for future improvement, that aren't (yet) concretely agreed upon.
Projects
None yet
Development

No branches or pull requests

1 participant