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

Fails to parse using expressions #77

Closed
archseer opened this issue Sep 1, 2022 · 2 comments
Closed

Fails to parse using expressions #77

archseer opened this issue Sep 1, 2022 · 2 comments

Comments

@archseer
Copy link

archseer commented Sep 1, 2022

using Range = (min : felt, max : felt)

Fails to parse as:

Could not parse foo.cairo: Unexpected token Token('COLON', ':') at line 93, column 20.
Expected one of:
        * _DBL_STAR
        * STAR
        * RPAR
        * COMMA
@fcasal
Copy link
Collaborator

fcasal commented Sep 14, 2022

Hi @archseer, thanks for reporting!
PR #79 should fix this and allow running it on Cairo code below v0.10.0. The v0.10 grammar updates will come when #76 gets merged.

@fcasal
Copy link
Collaborator

fcasal commented Oct 3, 2022

@archseer The PR was merged, and this release should run without problems: https://pypi.org/project/amarna/0.1.4/

Let me know if you have any more issues.

@fcasal fcasal closed this as completed Oct 3, 2022
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