4 ms·
There’s a good series of posts called “Rope Science” by the author of the now-unmaintained Xi editor. These posts were cited as an inspiration by the Lapce auth
by MatthiasPortzel 2y ago
There’s a good series of posts called “Rope Science” by the author of the now-unmaintained Xi editor. These posts were cited as an inspiration by the Lapce author.
=> https://xi-editor.io/docs/rope_science_00.html https://xi-editor.io/docs/rope_science_00.html
- ayewo 2y agoI first learned of the rope data structure and piece table [1] from the Tree Sitter docs: https://tree-sitter.github.io/tree-sitter/using-parsers#providing-the-code https://tree-sitter.github.io/tree-sitter/using-parsers#prov... 1: https://en.wikipedia.org/wiki/Piece_table https://en.wikipedia.org/wiki/Piece_table
- cbarrick 2y agoIn particular, the "summary" from the SumTree in this Zed article reminded me of the "metric" abstraction described in Raph's Rope Science.