This post announces the new
It is a small library to help you define
brick widgets for
Cursors, Part 6: The Forest Cursor
This is the sixth post in a series about cursors. It prepares the final data structure to write a simple forest editor.
In the previous posts in the cursors series, we discussed the concept of a cursor, and the implementation of a type-safe tree cursor. In this post, we will discuss a cursor for forests.
It originated in the work on
smos, a Purely Functional Semantic Forest Editor.
While making some web services, I noticed that there was a little piece of functionality that I would need almost every time.
yesod-static-remote library scratches this little itch in under 50 lines of code.
Microsmos: Writing a simple tree-editor with brick.
With the new cursor as defined in the previous poss about tree cursors we can take the next step towards making a Purely Functional Semantic Forests Editor like Smos.
In this post we will write a simple purely functional tree editor using
brick, building on the previous simple text editor: nanosmos.