3 ms·
CUE is another interesting language to use from within Go, and is rather natural, given CUE is implemented in Go, but you can also do way more cool things with
by verdverm 3y ago
CUE is another interesting language to use from within Go, and is rather natural, given CUE is implemented in Go, but you can also do way more cool things with CUE via the Go API.
We're using CUE to validate and transform data, as input to code gen, the basis for a DAG task engine, and more
https://cuelang.org https://cuelang.org | https://pkg.go.dev/cuelang.org/go@v0.6.0/cue https://pkg.go.dev/cuelang.org/go@v0.6.0/cue | https://cuetorials.com/go-api https://cuetorials.com/go-api (learn about CUE)
https://github.com/hofstadter-io/hof https://github.com/hofstadter-io/hof (where we are doing these things)
- gabereiser 3y agoNot remotely close to my use case. Data filtering and extraction seems to be its niche, a problem you’re solving using it. My use case is different.
- verdverm 3y agoindeed, I've been looking for something more scripty to use from Go programs as well. Curious about the Gp+LUA, but haven't had the time to try it Generally, this subthread became several comments about using lang X in Go