3 ms·
But you want syntax highlighting performed by approximations, because when editing your code is only approximately valid.
by morelisp 3y ago
But you want syntax highlighting performed by approximations, because when editing your code is only approximately valid.
- globular-toast 3y agoIt would be even better if the code was always valid because we only edit the AST itself, like what paredit does for Lisp modes.
- morelisp 3y agoNo. (The code being valid s-sexps doesn’t even guarantee it’s syntactically valid after macro expansion, but even if it does this is a bad idea.)