package dolmen
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ff2889fa9d467d5b4d87ae4f819a64358715f457cc6226b455463c2fcd4ab2af
sha512=d6ba56945aabcf0886e83fcf44c45f2f8afcf68e48d2f0b25f9cd8e60d18106fae3976fee49d3e291b2e0ab3266837ad5eff800dc51fe2b3aab15ad81ea58cbb
doc/dolmen.std/Dolmen_std/Namespace/index.html
Module Dolmen_std.Namespace
Source
Type and std functions
type value =
| Integer
(*Integers (in base 10 notation), e.g.
*)"123456789"
| Rational
(*Rational (using quotient notation with '/'), e.g.
*)"123/456"
| Real
(*Real (using decimal floating point notation with exponent), e.g.
*)"123.456e789"
| Binary
(*Bitvector in binary notation, e.g.
*)"0b011010111010"
| Hexadecimal
(*Bitvector in hexadecimal notation, e.g.
*)"0x9a23e5f"
| Bitvector
(*Bitvector litteral.
*)| String
(*String litterals.
*)
Types of lexical values typically encountered.
type t =
| Var
(*Namespace for variables. Not all variables are necessarily in this namespace, but ids in this namespace must be variables.
*)| Sort
(*Namepsace for sorts and types (only used in smtlib)
*)| Term
(*Most used namespace, used for terms in general (and types outside smtlib).
*)| Attr
(*Namespace for attributes (also called annotations).
*)| Decl
(*Namespace used for naming declarations/definitions/statements...
*)| Track
(*Namespace used to track specific values throughout some files.
*)| Value of value
(*The identifier is a value, encoded in a string. Examples include arithmetic constants (e.g.
*)"123456", "123/456", "123.456e789"
), bitvectors (i.e. binary notation), etc...
Namespaces, used to record the lexical scop in which an identifier was parsed.
Printing function.