package baguette_sharp

  1. Overview
  2. Docs

Module Baguette_sharp.InterpreterSource

The Interpreter Module of B#

Sourceval read_file : string -> string list
Sourceval fuse_hash_tbl : ('a, 'b) Hashtbl.t -> ('a, 'b) Hashtbl.t -> unit
Sourceval labels : (string, Parser.parameters Parser.ast list) Hashtbl.t

The Hashtbl storing the labels AST

Sourceval functions : (string, string list * Parser.parameters Parser.ast list) Hashtbl.t
Sourceval creating_stack_trace : int -> string -> < to_string : string.. > -> string

A function to generate a stack trace from an error object

Sourceval exec_node : ?line:int -> Parser.parameters Parser.ast -> Parser.parameters

Interpretation of a single Node

Sourceval try_injection : string -> Parser.parameters list -> Parser.parameters
Sourceval runtime : ?repl:bool -> Parser.parameters Parser.ast list -> (string, Parser.parameters) Hashtbl.t