Skip to content

[WIP] Add support for verus_spec formatting - #127

Draft
jaybosamiya-ms wants to merge 2 commits into
mainfrom
jayb/push-qupmnrqvppuv
Draft

jaybosamiya-ms wants to merge 2 commits into
mainfrom
jayb/push-qupmnrqvppuv

Conversation

@jaybosamiya-ms

Copy link
Copy Markdown
Collaborator

Closes #121

TODO list:

  • Get a significant example file
  • Update minimal parsing to prevent rustfmt from mangling verus_spec
  • Set up unstable CLI flag to gate verus_spec syntax
  • Set up a new phase for formatting verus_spec after the rustfmt pass
  • Add a parser for verus_spec syntax (TBD: how do we share with the main verus.pest if we write a new .pest? would it be safe to update verus.pest with verus_spec-specific things instead?)
  • Write the to-doc functionality for the verus_spec variants
  • Test for and report warnings if line-numbering might be confusing

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.

Feature request for verus_spec attribute :>

1 participant