package libsail

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

type sexpr =
  1. | List of sexpr list
  2. | Atom of string
val string_of_sexpr : sexpr -> string
val lparen : Str.split_result list -> unit Parser_combinators.parse_result
val rparen : Str.split_result list -> unit Parser_combinators.parse_result
val atom : Str.split_result list -> string Parser_combinators.parse_result
val sexp : Str.split_result list -> sexpr Parser_combinators.parse_result
val parse_sexps : string -> sexpr list option
val parse_sexpr_int : int -> sexpr -> Libsail.Ast_util.Big_int.num option
val value_of_sexpr : sexpr -> Jib.ctyp -> Value.value
val find_arg : Ast.id -> Jib.ctyp -> (Ast.id * string option) list -> sexpr list -> Ast.id * Value.value
val build_counterexample : Ast.id list -> Jib.ctyp list -> (Ast.id * string option) list -> sexpr list -> (Ast.id * Value.value) list
val run : Interpreter.frame -> Value.value option
val check : env:Type_check.Env.t -> ast:(Type_check.tannot, 'a) Ast_defs.ast -> solver:counterexample_solver -> file_name:string -> function_id:Ast.id -> args:Ast.id list -> arg_ctyps:Jib.ctyp list -> arg_smt_names:(Ast.id * string option) list -> unit
OCaml

Innovation. Community. Security.