Skip to content
Snippets Groups Projects
Model.hs 381 B
Newer Older
  • Learn to ignore specific revisions
  • module ModelParser.Model where
    
    data FuncInst = InstInt Int Int
                  | InstElse Int
                  deriving (Show, Read, Eq)
    
    data ModelVal = BoolVal Bool
                  | IntVal Int
    
                  | ArrayRef String
                  | ArrayAsConst Int
    
                  | ArrayFunc [FuncInst]
                  deriving (Show, Read, Eq)
    
    type Z3Model = [(String, ModelVal)]