package ocaml-base-compiler

  1. Overview
  2. Docs
First release candidate of OCaml 4.14.2

Install

dune-project
 Dependency

Authors

Maintainers

Sources

4.14.2-rc1.tar.gz
sha256=0779d4871c5a3be4ae24dc2f5a49ec5463973f951a11953a7da6089e02587a37

doc/ocamltoplevel/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