You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, the tutorial was written for old VerCors, where wands were encoded into methods. PR #760 changed that, instead mapping VerCors wands to Viper wands, also modifying the syntax in the process. It seems that the wiki wasn't updated accordingly. Feel free to update the wiki :)
Some notes:
create is now package, as you already realised
use is no longer needed for the permission footprint, Viper usually figures it out automatically
use for boolean facts can be expressed as an assert statement inside the package block if needed, IIRC. You didn't need it in your example, so I'm not sure how relevant this is (or if it really works that way). I think this is also how you guide the automatic footprint inference if that fails, but I'm not sure.
qed became obsolete
the "more complex expressions" no longer need to be wrapped in functions
I was trying to write a simple example of wands, and the tutorial does not help at the moment: link
This example does work, so maybe we could replace it in the tutorial.
The text was updated successfully, but these errors were encountered: