package baguette_sharp

  1. Overview
  2. Docs

Module Baguette_sharp.InterpreterSource

The Interpreter Module of B#

Sourceval labels : (string, Parser.parameters Parser.ast list) Hashtbl.t

The Hashtbl storing the labels AST

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 runtime : ?repl:bool -> Parser.parameters Parser.ast list -> (string, Parser.parameters) Hashtbl.t

Runtime of the program runs the list of Node and update the RAM. It also returns the RAM