package herdtools7

  1. Overview
  2. Docs

Builds an AST.t from some files.

type token = Parser.token
type ast_type = [
  1. | `Opn
  2. | `Ast
]
type version = [
  1. | `ASLv0
  2. | `ASLv1
]
type version_selector = [
  1. | `ASLv0
  2. | `ASLv1
  3. | `Any
]
val from_file_result : ?ast_type:ast_type -> version -> string -> AST.t Error.result
val from_file : ?ast_type:ast_type -> version -> string -> AST.t
val from_lexer_lexbuf : ?ast_type:ast_type -> version -> 'a -> Lexing.lexbuf -> AST.t Error.result
val from_file_multi_version : ?ast_type:ast_type -> version_selector -> string -> AST.t Error.result
val stdlib : AST.t Lazy.t
val with_stdlib : AST.t -> AST.t
val is_stdlib_name : AST.identifier -> bool
OCaml

Innovation. Community. Security.