Syntax Driven Editors

There are three kinds of editors for programming languages:

A syntax-savvy or syntax-driven editor does not guarantee that programs you write with it will compile without errors. In order to provide this guarantee the editor must also know all context-sensitive aspects of the languages, like scope rules, and rules about where which language constructs are or are not allowed. Syntax-driven editors for document processing are better at generating syntactically correct files than those for programming languages.

Some syntax-savvy editors are able to interpret compiler error messages and point to the lines in the source code where the compiler detects errors.