package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.1.0

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.0.tar.gz
sha256=43a3ac7aab7f8880f2bb6221317be55319b356e517622fdc28359fe943e6a450

doc/compiler-libs.toplevel/Topcommon/index.html

Module Topcommon

This module provides common implementations for internals of Toploop, for bytecode and native code (see Topeval for the diverging parts of the implementation).

You should not use it directly, refer to the functions in Toploop instead.

type evaluation_outcome =
  1. | Result of Obj.t
  2. | Exception of exn
val backtrace : string option ref
val parse_mod_use_file : string -> Lexing.lexbuf -> Parsetree.toplevel_phrase list
val refill_lexbuf : bytes -> int -> int
OCaml

Innovation. Community. Security.