3 ms·
At some point there was a discussion about compile time reflection, which I guess could include functionality like that, but I think the topic died along with s
by drogus 2y ago
At some point there was a discussion about compile time reflection, which I guess could include functionality like that, but I think the topic died along with some kind of drama around it. Quite a bummer, cause things like serde would have been so much easier to imeplement with compile time reflection
- cb321 2y agoAnother example applying compile-time reflection is something like https://github.com/c-blake/cligen https://github.com/c-blake/cligen { but it helps if your host prog.lang has named parameters like Python's foo(a=1, b=2) }.