smt2-parser-0.1.0.1: A Haskell parser for SMT-LIB version 2.6
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.SMT2.Syntax

Description

  • Module : Language.SMT2.Syntax
  • Description : SMT language parser
  • Maintainer : ubikium@gmail.com
  • Stability : experimental
Synopsis

Lexicons (Sec. 3.1)

S-expressions (Sec. 3.2)

data SExpr Source #

Instances

Instances details
Show SExpr Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

showsPrec :: Int -> SExpr -> ShowS #

show :: SExpr -> String #

showList :: [SExpr] -> ShowS #

Eq SExpr Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: SExpr -> SExpr -> Bool #

(/=) :: SExpr -> SExpr -> Bool #

SpecificSuccessRes SExpr Source # 
Instance details

Defined in Language.SMT2.Parser

type SList = [SExpr] Source #

Identifiers (Sec 3.3)

data Index Source #

Instances

Instances details
Show Index Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

Eq Index Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: Index -> Index -> Bool #

(/=) :: Index -> Index -> Bool #

data Identifier Source #

Instances

Instances details
Show Identifier Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq Identifier Source # 
Instance details

Defined in Language.SMT2.Syntax

Attributes (Sec. 3.4)

data Attribute Source #

Instances

Instances details
Show Attribute Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq Attribute Source # 
Instance details

Defined in Language.SMT2.Syntax

Sorts (Sec 3.5)

data Sort Source #

Instances

Instances details
Show Sort Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

showsPrec :: Int -> Sort -> ShowS #

show :: Sort -> String #

showList :: [Sort] -> ShowS #

Eq Sort Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: Sort -> Sort -> Bool #

(/=) :: Sort -> Sort -> Bool #

Terms and Formulas (Sec 3.6)

data VarBinding Source #

Constructors

VarBinding Symbol Term 

Instances

Instances details
Show VarBinding Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq VarBinding Source # 
Instance details

Defined in Language.SMT2.Syntax

data SortedVar Source #

Constructors

SortedVar Symbol Sort 

Instances

Instances details
Show SortedVar Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq SortedVar Source # 
Instance details

Defined in Language.SMT2.Syntax

data MatchCase Source #

Instances

Instances details
Show MatchCase Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq MatchCase Source # 
Instance details

Defined in Language.SMT2.Syntax

Theory declarations (Sec 3.7)

data TheoryDecl Source #

Instances

Instances details
Show TheoryDecl Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq TheoryDecl Source # 
Instance details

Defined in Language.SMT2.Syntax

Logic Declarations (Sec 3.8)

data Logic Source #

Instances

Instances details
Show Logic Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

showsPrec :: Int -> Logic -> ShowS #

show :: Logic -> String #

showList :: [Logic] -> ShowS #

Eq Logic Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: Logic -> Logic -> Bool #

(/=) :: Logic -> Logic -> Bool #

Scripts (Sec 3.9)

data SortDec Source #

Constructors

SortDec Symbol Numeral 

Instances

Instances details
Show SortDec Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq SortDec Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: SortDec -> SortDec -> Bool #

(/=) :: SortDec -> SortDec -> Bool #

data SelectorDec Source #

Constructors

SelectorDec Symbol Sort 

Instances

Instances details
Show SelectorDec Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq SelectorDec Source # 
Instance details

Defined in Language.SMT2.Syntax

data FunctionDec Source #

Instances

Instances details
Show FunctionDec Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq FunctionDec Source # 
Instance details

Defined in Language.SMT2.Syntax

data FunctionDef Source #

Instances

Instances details
Show FunctionDef Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq FunctionDef Source # 
Instance details

Defined in Language.SMT2.Syntax

data PropLiteral Source #

Instances

Instances details
Show PropLiteral Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq PropLiteral Source # 
Instance details

Defined in Language.SMT2.Syntax

data BValue Source #

Constructors

BTrue 
BFalse 

Instances

Instances details
Show BValue Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq BValue Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: BValue -> BValue -> Bool #

(/=) :: BValue -> BValue -> Bool #

SpecificSuccessRes [TValuationPair] Source # 
Instance details

Defined in Language.SMT2.Parser

data InfoFlag Source #

Instances

Instances details
Show InfoFlag Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq InfoFlag Source # 
Instance details

Defined in Language.SMT2.Syntax

Responses (Sec 3.9.1)

data ResCheckSat Source #

Constructors

Sat 
Unsat 
Unknown 

Instances

Instances details
Show ResCheckSat Source # 
Instance details

Defined in Language.SMT2.Syntax

Eq ResCheckSat Source # 
Instance details

Defined in Language.SMT2.Syntax

SpecificSuccessRes ResCheckSat Source # 
Instance details

Defined in Language.SMT2.Parser

instances

data GeneralRes res Source #

Instances

Instances details
Show res => Show (GeneralRes res) Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

showsPrec :: Int -> GeneralRes res -> ShowS #

show :: GeneralRes res -> String #

showList :: [GeneralRes res] -> ShowS #

Eq res => Eq (GeneralRes res) Source # 
Instance details

Defined in Language.SMT2.Syntax

Methods

(==) :: GeneralRes res -> GeneralRes res -> Bool #

(/=) :: GeneralRes res -> GeneralRes res -> Bool #

class SpecificSuccessRes s where Source #

Instances

Instances details
SpecificSuccessRes AttributeValue Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes ResCheckSat Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes ResModel Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes SExpr Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes StringLiteral Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes (NonEmpty ResInfo) Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes (NonEmpty ValuationPair) Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes [Symbol] Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes [TValuationPair] Source # 
Instance details

Defined in Language.SMT2.Parser

SpecificSuccessRes [Term] Source # 
Instance details

Defined in Language.SMT2.Parser