This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will block this actor and hide all of their past and future posts. Are you certain you want to block this actor?
This action will block this object. Are you certain you want to block this object?
New blog post: "Parsing Protobuf Definitions with Tree-sitter" . It's all about how I used #Treesitter to jumpstart some nice internal #Protobuf tooling at work in #Golang. https://relistan.com/parsing-protobuf-files-with-treesitter
I am working with protobuf
files and wanted to write some new tooling for code generation that doesn't use Go's horrible protoreflect
.
I started parsing the files with Treesitter (in Go), which works great. Writing query S expressions was kinda annoying but then I found that #Neovim has a built-in #Treesitter query editor and live tree/document playground.
Holy crap! This is sooooo nice. 🤯