package logtk
Core types and algorithms for logic
Install
Dune Dependency
Authors
Maintainers
Sources
2.1.tar.gz
md5=e72de75e9f0f87da9e6e8c0a4d4c89f9
sha512=81becfc9badd686ab3692cd9312172aa4c4e3581b110e81770bb01e0ffbc1eb8495d0dd6d43b98f3d06e6b8c8a338174c13ebafb4e9849a3ddf89f9a3a72c287
doc/logtk.parsers/Logtk_parsers/Tip_ast/index.html
Module Logtk_parsers.Tip_ast
Trivial AST for parsing
val pp_str : Format.formatter -> string -> unit
val pp_to_string : (Format.formatter -> 'a -> 'b) -> 'a -> string
module Loc = Logtk.ParseLocation
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
| 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
val ty_bool : ty
val true_ : term
val false_ : term
val const : string -> term
val match_ : term -> match_branch list -> term
val fpf : Format.formatter -> ('a, Format.formatter, unit) format -> 'a
val pp_list :
?start:string ->
?stop:string ->
?sep:string ->
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a list ->
unit
val pp_tyvar : Format.formatter -> string -> unit
val pp_ty : Format.formatter -> ty -> unit
val pp_term : Format.formatter -> term -> unit
val pp_typed_var : Format.formatter -> typed_var -> unit
val pp_par :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
(string list * 'a) ->
unit
val pp_fun_decl :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a fun_decl ->
unit
val pp_fr : Format.formatter -> fun_def -> unit
val pp_stmt : Format.formatter -> statement -> unit
Errors
exception Parse_error of Loc.t option * string
val parse_error : ?loc:Loc.t -> string -> 'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page