Hacker News new | past | comments | ask | show | jobs | submit login

But you want syntax highlighting performed by approximations, because when editing your code is only approximately valid.



It would be even better if the code was always valid because we only edit the AST itself, like what paredit does for Lisp modes.


No.

(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.)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: