ae666cb436055c5241b6d114233f8495b0c27bc5
Zig Project Action / Lint, Spell-check and test zig project (push) Has been cancelled
based on sources of https://github.com/noahbald/noe which are MIT-licensed
Rope
Implementation of a rope datastructure in zig.
Based on the MIT-Licensed implementation of noahbald: https://github.com/noahbald/noe
Please check out his excelent write up about the implementation of an editor in zig.
Another great resource for ropes has been created by Zed, it is worth reading to further understand the implementation details of this implementation.
Usage
To add or update rope as a dependency in your project run the following command:
zig fetch --save git+https://gitea.yves-biener.de/yves-biener/rope
Add the dependency to your module as follows in your build.zig:
const zterm: *Dependency = b.dependency("rope", .{
.target = target,
.optimize = optimize,
});
Languages
Zig
100%