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

Have source as match surface for chunks? #64

Open
mr-martian opened this issue Jul 11, 2020 · 0 comments
Open

Have source as match surface for chunks? #64

mr-martian opened this issue Jul 11, 2020 · 0 comments

Comments

@mr-martian
Copy link
Collaborator

As discussed in #59, it would make sense to have the source be used for matching for both LUs and chunks. However, there are several difficulties with this.

  • Chunks matching on target is baked in as an assumption in a lot of different places.
  • This would introduce an incompatibility with existing bytecode file.
  • When generating bytecode, neither compiler pays attention to whether the contents of a particular chunk are themselves chunks or not, so it's unclear whether generated output should
    • have a source side and then rtx-proc can just output the source if there's no target
    • have a target side
    • or we could come up with a syntax for specifying both
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

1 participant