3 ms·
At that point you're essentially advocating treating libclang as the standard. All the usual problems of "the implementation is the spec" apply.
by lmm 11y ago
At that point you're essentially advocating treating libclang as the standard. All the usual problems of "the implementation is the spec" apply.
- sklogic 11y agolibclang is just an example, maybe not an ideal one. But, yes, I'm advocating for an executable language spec, one that you'd use as a (probably suboptimal, but canonical) implementation. A good example of such a thing would be something like https://github.com/kframework/c-semantics https://github.com/kframework/c-semantics