3 ms·
If you are willing to restrict a programmer to only look at accessible renderings of the AST, then there is probably nothing to consider, but a programmer's job
by yayana 8y ago
If you are willing to restrict a programmer to only look at accessible renderings of the AST, then there is probably nothing to consider, but a programmer's job is also handling what happens when a program does not parse.
- amenghra 8y agoThis. Very few language designers understand the usefulness of being able to parse the code while it is incomplete/being typed out. You end up with “hacks” to color your code vs a real parser to compile the code.
- evincarofautumn 8y agoMy compiler is error-recovering for this reason: you can still get correct syntax-highlighting data even if there are lexical errors, type information even if there are type errors, and so on.