Whiley / WhileyCompiler

The Whiley Compiler (WyC)
http://whiley.org
Apache License 2.0
217 stars 36 forks source link

Array & Record Update Operators #1129

Closed DavePearce closed 2 years ago

DavePearce commented 2 years ago

In order to describe the semantics of bytecode instructions in Whiley, it would be useful to have the array and record update operators. For example:

property ldc(int[] regs, int rd, int val) -> (int[] regs):
   regs[rd:=val]