Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The 'extent' you talk about is exactly the lexer (parser) state, you just have to properly serialize it for the beginning of the buffer to get cheap redisplays. It's not rocket science but almost no editor got it right.


Yi is one editor that does incremental parsing correctly: https://github.com/yi-editor/yi




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: