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

broken indirect call syntax #58

Open
2 tasks
ppaulweber opened this issue Feb 13, 2018 · 5 comments
Open
2 tasks

broken indirect call syntax #58

ppaulweber opened this issue Feb 13, 2018 · 5 comments

Comments

@ppaulweber
Copy link
Contributor

Due to the changes from casm-lang/libcasm-fe#126 we are not able to parse our indirect call syntax. After our discussion at the meeting please change the syntax to allow indirect calling in a more generic way than before which shall also resolve this bug.

obj/casmi: error: syntax error, unexpected *, @52{0000} [SourceToAstPass, Default]
casm/lib/casm-tc/test/symtbl/rule.casm:52:6..52:7
    (*@bar)()
     ^
obj/casmi: error: could not parse `casm/lib/casm-tc/test/symtbl/rule.casm´ [SourceToAstPass, Default]
  • fix incorrect grammar
  • provide a new indirect call syntax
@emmanuel099
Copy link

Moving it to the next release, because the changes are somehow risky and may introduce last-minute breakages. Also implementing it properly will take some time.

@emmanuel099 emmanuel099 modified the milestones: release-auxentios, release-berenice Feb 20, 2018
@ppaulweber
Copy link
Contributor Author

@emmanuel099 any progress on this issue? would be great to fix the indirect call syntax for the upcoming 0.2.0 release.

@ppaulweber
Copy link
Contributor Author

@emmanuel099 any update yet?

@ppaulweber
Copy link
Contributor Author

I'll take over here and will provide a fix until the next upcoming release 0.3.0

@ppaulweber
Copy link
Contributor Author

Will be fixed along with the upcoming release 0.5.0 and the new #35 functionalities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants