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

No way to access compile time switches/options in later compiler passes #598

Closed
singul4ri7y opened this issue Jun 3, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@singul4ri7y
Copy link
Contributor

Currently as the situation stands, we do not have any way to access compile time switches passed to the Pallene compiler in later compiler passes.

For example, if any custom switch is implemented and passed to the compiler such as:

pallenec --any-custom-switch module.pln

there is no way to know whether --any-custom-switch was used in compiler in later compiler passes like IR Generation or Code Generation.

This could stage as a good improvement.

@singul4ri7y singul4ri7y added the enhancement New feature or request label Jun 3, 2024
@singul4ri7y
Copy link
Contributor Author

Intermediate implementation has been done over it. Though it's not completely matured, the current implementation should do the trick.

Solved in #597

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

1 participant