{ "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-07-18T10:15:48.663Z", "attributedTo":"https://k.matthias.org/actors/relistan", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://k.matthias.org/actors/relistan/followers"], "content":"
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. 🤯
", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Hashtag","name":"#Neovim","href":"https://k.matthias.org/tags/Neovim"}, {"type":"Hashtag","name":"#Treesitter","href":"https://k.matthias.org/tags/Treesitter"} ], "type":"Note", "id":"https://k.matthias.org/objects/axCNgmxgsJI" }