1. not constructed or arranged in the proper way; grammatically or structurally incorrect
The ill-formed sentence was difficult to understand.
A frase mal formada foi difícil de entender.
2. in computing or linguistics, not conforming to required syntax or structure
The compiler rejected the ill-formed code.
O compilador rejeitou o código mal formado.