Comment by kstenerud
I just had Claude Sonnet 4 build this for me: https://github.com/kstenerud/orb-serde
Using the following prompt:
Write a rust serde implementation for the ORB binary data format.
Here is the background information you need:
* The ORB reference material is here: https://github.com/kstenerud/orb/blob/main/orb.md
* The formal grammar dscribing ORB is here: https://github.com/kstenerud/orb/blob/main/orb.dogma
* The formal grammar used to describe ORB is called Dogma.
* Dogma reference material is here: https://github.com/kstenerud/dogma/blob/master/v1/dogma_v1.0.md
* The end of the Dogma description document has a section called "Dogma described as Dogma", which contains the formal grammar describing Dogma.
Other important things to remember:
* ORB is an extension of BONJSON, so it must also implement all of BONJSON.
* The BONJSON reference material is here: https://github.com/kstenerud/bonjson/blob/main/bonjson.md
* The formal grammar desribing BONJSON is here: https://github.com/kstenerud/bonjson/blob/main/bonjson.dogma
Is it perfect? Nope, but it's 90% of the way there. It would have taken me all day to build all of these ceremonious bits, and Claude did it in 10 minutes. Now I can concentrate on the important parts.
First and foremost, it’s 404. Probably a mistake, but I chuckled a bit when someone says "AI build this thing and it’s 90% there" and then posts a dead link.