Module Lambda_lib.Parser

type error =
  1. | Parsing_error of string
val parse : string -> (Ast.name Ast.t, error) Stdlib.result

Main entry of parser

type dispatch = {
  1. apps : dispatch -> Ast.name Ast.t Angstrom.t;
  2. single : dispatch -> Ast.name Ast.t Angstrom.t;
  3. unary : dispatch -> Ast.name Ast.t Angstrom.t;
  4. mul_div : dispatch -> Ast.name Ast.t Angstrom.t;
  5. add_sub : dispatch -> Ast.name Ast.t Angstrom.t;
  6. comp : dispatch -> string Ast.t Angstrom.t;
}
val parse_lam : dispatch