Semantics of Solidity in K
With the new Makefile, K is now a submodule of this project.
In order to obtain and build K (if not done already) use:
This will clone and build the k repository into
Building the K definition
For now, only the Java backend is supported. To build the definition, use:
In order to clean the current build, just use
Notice that the kompiled definition is now saved in
How to run test programs
Once the prerequisites are in place and the definition is kompiled, it is possible to run Solidity test cases using the supplied
For instructions on use, call:
For more information about building, please consult the
For information about running, please consult the
For a more fleshed out example of semantics, see https://github.com/kframework/evm-semantics.