IVy is a research tool intended to allow interactive development of protocols and their proofs of correctness and to provide a platform for developing and experimenting with automated proof techniques. In particular, IVy provides interactive visualization of automated proofs, and supports a use model in which the human protocol designer and the automated tool interact to expose errors and prove correctness.
Other
77
stars
24
forks
source link
ivy_to_cpp: Add a newline after printing the model to the modelfile #33
Currently, when ivy_to_cpp-generated code prints out the current model, it doesn't emit
a trailing newline. This makes the output slightly tricky to read: consider the following example:
Notice that the pred directive on line 102 is not actually part of the model but follows from a subsequent call to gen::add_alit(). With this patch, that output line now appears on its own line:
(As a result, this means that model files will also have a trailing newline at the end of the file, which is a tacet expectation on Unix systems, so that's a nice benefit too.)
Currently, when ivy_to_cpp-generated code prints out the current model, it doesn't emit a trailing newline. This makes the output slightly tricky to read: consider the following example:
Notice that the
pred
directive on line 102 is not actually part of the model but follows from a subsequent call togen::add_alit()
. With this patch, that output line now appears on its own line:(As a result, this means that model files will also have a trailing newline at the end of the file, which is a tacet expectation on Unix systems, so that's a nice benefit too.)