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

Pass on instruciton syntax #137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Pass on instruciton syntax #137

wants to merge 1 commit into from

Conversation

rossberg
Copy link
Collaborator

This PR does some tweaks to the instruction syntax.

I had to change the syntax of loadops from sz sx to sz _ sx, in order to make sure that the show hint actually applies. I adapted convert.ml accordingly, but unfortunately, the change still breaks the interpreter, which encounters some Let (n, sx) = loadop with a tuple on the lhs. I could not figure out where this let is coming from — it does not appear in the AL shown with --print-al, nor could I find a place in the backend code that introduces it. So I'm a bit puzzled.

@f52985, any help is appreciated.

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

Successfully merging this pull request may close these issues.

1 participant