So I've been working on a tool that will take in a JSON-LD RDF specification (like the one here :github.com/gobengo/activitystr) and spit out generated Go code that automatically generates the static types for it.

The intent is, ActivityStreams extensions would be able to host this specification as their @context reference, people could use this tool to auto-generate the extension for their Go code, and then build their apps with it.

Follow

So how close is this tool to being done? The answer is dependent on caffeine and free time.

- [X] Can generate code from internal code data type
- [X] Can read in specification
- [~] Can turn spec into internal parse data type (in progress; difficulty: high)
- [ ] Turn internal parse data type to internal code data type (difficulty: low)
- [ ] Be able to have specifications build off one another (difficulty: unknown)

· Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface as a moderator.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!