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

Parser: introduce seq![1;2;3] for sequence literals #3390

Merged
merged 6 commits into from
Aug 21, 2024

Conversation

mtzguido
Copy link
Member

This introduces some syntax for literal sequences. I want to rework this a bit still to obtain resugaring, but posting for comments.

The parser does not do the desugaring anymore and just puts out
ListLiteral or SeqLiteral nodes. Resugaring tries to reconstruct them.
The pretty-printing (ToDocument) does not try to do anything fancy and
just prints them as literals if that's what it got as input.
@mtzguido mtzguido merged commit 9096467 into FStarLang:master Aug 21, 2024
2 checks passed
@mtzguido mtzguido deleted the seqlit branch August 21, 2024 16:54
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