"syntax" in Portuguese (PT)
Definition
As regras ou estrutura que controlam como as palavras são organizadas para formar frases numa língua. Em informática, também se refere às regras para estruturar comandos ou código.
Usage Notes (Portuguese (PT))
Termo formal e académico, sobretudo usado em linguística e informática. 'Syntax' refere-se apenas à estrutura frásica, não ao sentido das palavras. Erros de 'syntax' em programação causam 'syntax errors'.
Examples
English syntax usually requires the subject before the verb.
A **sintaxe** do inglês geralmente exige o sujeito antes do verbo.
The syntax of Spanish is different from English.
A **sintaxe** do espanhol é diferente da do inglês.
If you forget the syntax, your program won't run.
Se esqueceres da **sintaxe**, o teu programa não funcionará.
I'm still getting used to the syntax rules in my new coding language.
Ainda me estou a habituar às regras de **sintaxe** na minha nova linguagem de programação.
Paying attention to syntax can help you write clearer sentences.
Prestar atenção à **sintaxe** pode ajudar-te a escrever frases mais claras.
She explained the difference between grammar and syntax with simple examples.
Ela explicou a diferença entre gramática e **sintaxe** com exemplos simples.