3 ms·
Nice! seems very practical, is there a plan to detach the language from the runtime? It seems like a validation library that one should be able to embed.
by gkorland 6y ago
Nice! seems very practical, is there a plan to detach the language from the runtime? It seems like a validation library that one should be able to embed.
- verdverm 6y agoThere is a language spec and CUE itself is a reference implementation. You can embed CUE into Go as well as anything WASM. Checkout the integrations sections of the docs. I don't think there is a plan to separate lang / runtime in the reference implementation. There will be cleanup and better isolation within the codebase. On the flipside, there are plans to explore how imperative code can be embedded into CUE.
- gkorland 6y agoI was thinking about embedding in a C/Rust based application
- verdverm 6y agoYou could get pretty close if there is a way to support embedding Go generally This shows how to build a SO and use CUE from python https://github.com/philipdexter/pycue https://github.com/philipdexter/pycue (Note that is a really old version of CUE)