Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes:
This PR is mostly about adding a pySpec generator, but does some other cleanups that will hopefully be uncontroversial.
The "pySpec generator" is a prototype
stratasubcommand that takes a Python file as an argument, and produces a PySpec DDM Program for the file and its imports. The Python files it processes are intended to capture Python method signatures and their pre and post-conditions as idiomatic Python source code. This should facilitate use of LLMs to generate them.PySpec files are binary files that have semi-compiled the specifications. This is intended to make them efficient to load PySpec files when trying to validate source code that uses those imports.
The minor changes include:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.