Term of the Moment

first Web page


Look Up Another Term


Definition: syntax error


An error that occurs when a compiler or interpreter cannot understand the source code statement in order to generate machine code. Syntax errors and "semantic" errors are not the same. The syntax error is an incorrect construction of the source code, whereas a semantic error is erroneous logic that produces the wrong result when executed. See syntax, parse and semantic error.