Libabsolute.ParserThis module defines several parsing utilities
Exception raised by parse functions when the input is syntactically invalid.
Exception raised by check functions when the input is semantically invalid
val semantic_check : Csp.t -> unitCheck that no unbound variables appear, that domains are valid and function calls respect the arity.
val expr : string -> Expr.tParses a string representation of a numeric expression.
val constr : string -> Constraint.tParses a string representation of a constraint.
val file : ?check:bool -> string -> Csp.tparses a .abs file and builds the corresponding problem. Raises Syntax_error when the input is syntactically invalid and Semantic_error when the input makes no sense (e.g unbound variable). When check is set to false, no semantic check is performed