package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.2.0

Install

Dune Dependency

Authors

Maintainers

Sources

5.2.0.tar.gz
sha256=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911

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 comment_prompt_override : bool ref
val refill_lexbuf : bytes -> int -> int
OCaml

Innovation. Community. Security.