well-formed (comparative better-formed or more well-formed, superlative best-formed or most well-formed) (adjective)
1
(linguistics, computing) Correctly written; syntactically correct; expressed in a way that obeys rules for constructing formulas in a certain language.