-
Notifications
You must be signed in to change notification settings - Fork 3
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
Verify the code from a previous blog post #29
Conversation
Verification of the code from this blog post was previously missing.
@@ -0,0 +1,15 @@ | |||
#!/usr/bin/perl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come we use/need perl?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was the easiest way to write this, IMO, and it's pretty reliably available everywhere. Other languages would certainly work, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was the easiest way to write this, IMO
I can't comment on that, since I'm not sure how to read this code.
I think it's best to minimize the number of programming languages used in a particular repository/project. For Dafny I think it would be better not to have any Perl in there. We already have Bash and Python as scripting languages in the main Dafny repository, so I'd recommend biasing for those, with a preference for Python since I find it more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced it with Bash.
Co-authored-by: Alex Chew <[email protected]>
Verify the code included in the blog post "Clear Separation of Specification and Implementation in Dafny". It was previously missing from the
check
target in theMakefile
.Fixes #28.