Syntax error
An error the parser catches — code violates the language's grammar (missing paren, wrong keyword, unexpected token). The program won't even compile/run.
Early stage, cheaper than runtime errors. Modern languages have "fault-tolerant parsers" that try to recover and report multiple errors per pass (Rust, Elm, modern TypeScript). Classic unclear case: error: expected ';' in C++ when it's really a broken template several files away.