welcome: please sign in

Revision 1 as of 2015-11-30 17:45:39

Clear message
location: HATP / dev

This page purpose is to help HATP developers : it describes how HATP works under the hood.

Parsing

Preconditions

The parsing of the preconditions are based on the following formal grammar:

term    := e | (e, a) | size(e, a) | f(x1, ..., xn) | const
literal := term = term | term ≠ term | term > term | term ≥ term | term < term | term ≤ term | term ∈ (e, a) | term ∉ (e, a)
precond := precond ⋁ precond | ∀(e' ∈ t), precond → precond | ∃(e' ∈ t), precond → precond | literal | precond