sail

Sail is a language for describing the instruction semantics of processors
IN THIS PACKAGE
Module Latex
module StringSet : sig ... end
val opt_prefix : string ref
val opt_directory : string ref
val opt_simple_val : bool ref
val opt_abbrevs : string list ref
type latex_state = {
mutable noindent : bool;
mutable this : Ast.id option;
mutable norefs : StringSet.t;
mutable generated_names : string Ast_util.Bindings.t;
mutable commands : StringSet.t;
}
val reset_state : latex_state -> unit
val state : latex_state
val unique_postfix : int -> string
type id_category =
| Function
| Val
| Overload of int
| FunclCtor of Ast.id * int
| FunclNum of int
| FunclApp of string
| Type
val number_replacements : (string * string) list
val other_replacements : (string * string) list
val char_replace : string -> (string * string) list -> string
val replace_numbers : string -> string
val replace_others : string -> string
val category_name : id_category -> string
val category_name_val : id_category -> string
val category_name_simple : id_category -> string
val latex_id_raw : Ast_util.Bindings.key -> string
val latex_cat_id : id_category -> Ast_util.Bindings.key -> string
val app_code : 'a Ast.exp -> string
val refcode_cat_string : id_category -> string -> string
val refcode_cat_id : id_category -> Ast.id -> string
val refcode_id : Ast.id -> string
val refcode_string : string -> string
val inline_code : string -> string
val guard_abbrevs : string -> string
val text_code : string -> string
val replace_this : string -> string
val latex_of_markdown : string -> string
val docstring : Parse_ast.l -> PPrint.document
val skip_lines : in_channel -> int -> unit
val read_lines : in_channel -> int -> string list
val latex_loc : PPrint.document -> Ast.l -> PPrint.document
val doc_spec_simple : 'a Ast.val_spec -> PPrint.document
val latex_funcls : 'a -> 'b Ast.funcl list -> PPrint.document
val process_pragma : Parse_ast.l -> string -> PPrint.document option
val tdef_id : Ast.type_def_aux -> Ast.id
val defs : 'a Ast_defs.ast -> PPrint.document