package minicaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val read_toplevel : (Stdlib.Lexing.lexbuf -> 'a) -> unit -> 'b
val wrap_syntax_errors : (Stdlib.Lexing.lexbuf -> 'a) -> Stdlib.Lexing.lexbuf -> 'b

Parser wrapper that catches syntax-related errors and converts them to errors.

val print_position : Stdlib.Lexing.lexbuf -> string
val parser : Stdlib.Lexing.lexbuf -> Types.expr
val read_lines_until : Stdlib.in_channel -> string -> string
val repl : Types.env_type -> bool -> unit