Skip to content

fxdpntthm/imp-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imp-model

generates a z3 file when a valid imp program is provided as input.

Tested on:

  • cabal 2.4
  • ghc 8.6.3

Usage:

  • cabal new-configure
  • cabal new-run imp-model -- examples/factorial.imp

This will produce a z3 file examples/factorial.rs There are 2 other files unsat.imp and ite.imp for sample testing.

  • cabal new-test

This will run some sanity tests on the parser and AST generation

TODO:

  • [] Try using sbv or haskell-z3 to generate a model by using z3 haskell bindings rather than z3 file

About

modeling imp in z3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published