Re:Build Your Own Text Editor
by seanmcdirmid on Sunday August 04, 2019 @01:01AM
(#20604520)
Compilers have a lot of relatively independent pieces, unlike a text editor. Better luck at looking at those pieces instead (Lexing, parsing, type checking, etc...)
[ Parent
| on HN ]
For your information, even a simple a text editor (like much of user-facing software) too is comprised of several logically independent pieces, in the spirit of the model-view-controller paradigm.
Re:Build Your Own Text Editor
by seanmcdirmid on Monday August 05, 2019 @11:29AM
(#20614930)
It depends on how you implement it. I tend to implement mine as part of a compiler/run time, so it’s just another stage for me.
But my point was that any of those editor parts aren’t really identifiable as it’s own thing outside of editing.