3 ms·
FYI: This framework uses rust doc-comments for essential functionality. It’s basically using the documentation tool’s JSON output programmatically during compil
by jiggawatts 4y ago
FYI: This framework uses rust doc-comments for essential functionality. It’s basically using the documentation tool’s JSON output programmatically during compile time.
Generally this kind of “too clever” programming tends to fail in creative ways, especially over longer periods of time.
- 9dev 4y agoIt’s not using doc-comments, but compile-time reflection — it’s just that Rust‘s only reflection output is JSON. That doesn’t render the preposition of using a reflection API for transpiration invalid however. As long as the output code can be verified by tests, I don’t see how this would fail in „creative ways“.