Examples.Lang.ArithBlocks
lexer :: Lexer CharClass ℂ TokenClassWSBasic ℕ64 TokenWSBasic Source #
testTokenizerSuccess :: IO () Source #
data Lit Source #
Constructors
Defined in Examples.Lang.ArithBlocks
Methods
pretty :: Lit -> Doc Source #
data Atom Source #
pretty :: Atom -> Doc Source #
type Exp = 𝐴 SrcCxt ExpPre Source #
data ExpPre Source #
pretty :: ExpPre -> Doc Source #
blockEL :: (⌲) ExpPre (𝐿 Exp) Source #
equalEL :: (⌲) ExpPre ((∧) Exp Exp) Source #
negateEL :: (⌲) ExpPre Exp Source #
factEL :: (⌲) ExpPre Exp Source #
expoEL :: (⌲) ExpPre ((∧) Exp Exp) Source #
timesEL :: (⌲) ExpPre ((∧) Exp Exp) Source #
plusEL :: (⌲) ExpPre ((∧) Exp Exp) Source #
atomEL :: (⌲) ExpPre Atom Source #
cpLit :: CParser TokenWSBasic Lit Source #
cpAtom :: CParser TokenWSBasic Atom Source #
cpBlock :: CParser TokenWSBasic (𝐿 Exp) Source #
cpExp :: CParser TokenWSBasic Exp Source #
cpExpList :: CParser TokenWSBasic (𝐿 Exp) Source #
testParserSuccess :: IO () Source #
testParserFailure :: IO () Source #