package tip-parser
Parser for https://tip-org.github.io/format.html
Install
Dune Dependency
Authors
Maintainers
Sources
0.6.tar.gz
md5=67037b4d8b95c661cab061a5686be2d1
sha512=696154e0b1ab5f28b39889dec1f877b48087652be2f5706010a9b9645f577f7a5f58b61e241e29837923fb691d7963a7487bce1331b973f03ba0785464b60175
doc/tip-parser/Tip_ast/index.html
Module Tip_ast
Source
Trivial AST for parsing
Source
type term =
| True
| False
| Const of string
| App of string * term list
| HO_app of term * term
| Match of term * match_branch list
| If of term * term * term
| Let of (var * term) list * term
| Is_a of string * term
| Fun of typed_var * term
| Eq of term * term
| Imply of term * term
| And of term list
| Or of term list
| Not of term
| Distinct of term list
| Cast of term * ty
| Forall of (var * ty) list * term
| Exists of (var * ty) list * term
AST: S-expressions with locations
Source
and stmt =
| Stmt_set_logic of string
| Stmt_set_info of string * string
| Stmt_decl_sort of string * int
| Stmt_decl of ty fun_decl
| Stmt_fun_def of fun_def
| Stmt_fun_rec of fun_def
| Stmt_funs_rec of funs_rec_def
| Stmt_data of ty_var list * (string * cstor list) list
| Stmt_assert of term
| Stmt_lemma of term
| Stmt_assert_not of ty_var list * term
| Stmt_prove of ty_var list * term
| Stmt_check_sat
| Stmt_exit
Source
val pp_par :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
(string list * 'a) ->
unit
Errors
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page