HACKER Q&A
📣 amichail

What was wrong with syntax-directed editors for programming?


And does a dislike for these translate to a dislike for structured editors for math/scientific documents (e.g., TeXmacs)?


  👤 dtagames Accepted Answer ✓
Isn't VSCode with Copilot (or even with Intellisense) a "syntax-directed" editor in modern terms? Those tools are helpful precisely because they understand the AST of the underlying language. They can often suggest correct code that should come next. And they're wildly popular.

Am I missing something?


👤 bjourne
Problems come when you want to violate the rules of the grammar. Perhaps you want to use a recent syntactic construct in the language not yet supported by the editor. Or perhaps certain escape sequences and/or quotation marks confuses the editor.