Implementing a Syntax Highlighter with Tree-Sitter.

One of the most important part of a text editor is having a syntax highlighting system. As such, I began looking into different implementations of how one might achieve syntax highlighting. I narrowed down how I would achieve this with either one of: A Lexer (Using a pre-made library or build one myself). An Abstract Syntax Tree (Using Tree Sitter). In terms of a lexer, it would read the entire file, concattenated as a string and then it would start parsing from there....

June 8, 2024 · 731 words

STEP - WRITER.

This Post was Last Updated on: June 8, 2024 STEP-Writer is just my own take on writing a text editor, my hope is that as I continue working on this project it will eventually reach the point where I myself would use this application as my go to editor. Additionally, I wish to have this text editor work as a multi-user editor, this means that changes in the application is synced across various users....

June 2, 2024 · 692 words