Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Language.Giml.Syntax.Parse.Expr
Contents
Description
Parser of Giml expressions
Synopsis
- parseExpr :: Parser (Expr Loc)
- parseApp :: Text -> Parser (Expr Loc)
- parseExpr1 :: Parser (Expr Loc)
- parseExpr2 :: Parser (Expr Loc)
- parseFun :: Parser (Expr Loc)
- parseCaseExpr :: Parser (Expr Loc)
- parsePatternMatch :: Parser (Pattern, Expr Loc)
- parsePattern :: Parser Pattern
- parseVariantPat :: Parser (Variant (Maybe Pattern))
- parseOpenVariantPat :: Parser (Variant Pattern)
- parseStatements :: Parser (Annotated Loc (Block Loc))
- parseFfiExpr :: Parser (Expr Loc)
- parseLetInExpr :: Parser (Expr Loc)
- parseTermDef :: Parser (TermDef Loc)
Parser implementation
parsePattern :: Parser Pattern Source #
A pattern.