Module type Parser.PARSER

This module type provides an abstract interface for parsing.

type t

Abstract type for for tokens.

exception SyntaxError of string

Exception thrown whenever the lexer encounters a syntax error in the input file.

exception Error

Exception thrown whenever the parser reaches an error state.