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

Multiple Named Sets of source locations #30

Open
ekpyron opened this issue May 5, 2023 · 0 comments
Open

Multiple Named Sets of source locations #30

ekpyron opened this issue May 5, 2023 · 0 comments
Assignees

Comments

@ekpyron
Copy link
Contributor

ekpyron commented May 5, 2023

A compilation pipeline can consist of multiple stages, for us solidity-yul, yul-evmasm and evmasm-bytecode.

The format allows multiple source locations, i.e. source is a list.

I'd suggest to give it more structure like a list of lists, where the outermost list indexes into a globally described set of source languages (for us that would likely be "Solidity" and "Yul-IR" or such; the former can be marked as "origin" explicitly).

In the future, even more stages could appear, like pre- and post some preprocessor- or desugaring-stages.

@ekpyron ekpyron changed the title Multiple Named Sets of source location Multiple Named Sets of source locations May 5, 2023
@gnidan gnidan self-assigned this Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants