-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
ObserverOfTime/zig-tree-sitter
#5Description
Hello there, I've been upgrading one of my own projects to Zig 0.15.1 and my most important dependency is zig-tree-sitter right now. I've got a local fork I'm working on, nothing major done yet just a dependency upgrade.
Would there be interest in getting those changes back into upstream, once they're ready? If you already have something brewing yourself feel free to close this issue otherwise I'd be happy to contribute.
I see the following things that need to be done/decided:
-
- Managed Zig containers have been deprecated so my plan would be to change the zig-tree-sitter APIs that use managed containers to use unmanaged variants instead, this'd be a breaking change as the user needs to supply their own
std.mem.Allocator
to every one of those calls. Another possibility would be to just use the renamed variants that are still in 0.15.1 but then another pass to remove the deprecated API usage - including another breaking change - would be necessary in the near future, likely in the October-end of the year time frame.
- Managed Zig containers have been deprecated so my plan would be to change the zig-tree-sitter APIs that use managed containers to use unmanaged variants instead, this'd be a breaking change as the user needs to supply their own
-
- The "writergate" changes in
std.io
mainly seem to impact the formatting functionality of the various structs since the signature of theformat
function has been changed
- The "writergate" changes in
-
- Probably more I've not stumbled across yet :-)
Cheers!
Metadata
Metadata
Assignees
Labels
No labels