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

Verified java #5748

Draft
wants to merge 86 commits into
base: master
Choose a base branch
from
Draft

Verified java #5748

wants to merge 86 commits into from

Conversation

keyboardDrummer
Copy link
Member

Prototype for adding a front-end for an extension of Java that supports verification.

Description

  • The file JavaGrammar.cs contains the currently partial definition of the extended Java.
  • The new project CompilerBuilder contains a DSL for defining grammars from which parsers and printers can be extracted. It still needs work to polish the API and it needs a cache to improve backtracking performance.
  • ProgramParser.cs has been adopted so it calls the Java parser instead of the Dafny parser, based on the file extension.
  • There are small changes to the DafnyLanguageServer project to indicate that it also support this extensions java language.
  • There are small changes to the Dafny AST to accommodate how the grammar DSL currently works, but I expect to make this unnecessary

How has this been tested?

WIP

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

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