Get the latest tech news
The evolution of a structural code editor
This post outlines the evolution of the EYG editor. The major changes over time, design thoughts and some implementation notes.
The main difference is in a text editor this bracket matching features are adhoc and many other ways exist to create a syntactically invalid program. A positive aside of this effort to go text based meant I wanted better Gleam bindings to the browser API’s and that need kicked off building plinth a library to do just that. I wrote approximately 10k “lines” of EYG code, including a JSON parser and type checker, using the simple AST editor.
Or read this on Hacker News