Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is a broken approach. A much better way is to have a standard protocol (see slime for example, or IPython, or whatever else), and use the same tools as your compiler does, instead of reimplementing all the crap over and over again from the language standard.

I expect that not that many C++ tools that do not use libclang will remain.



At that point you're essentially advocating treating libclang as the standard. All the usual problems of "the implementation is the spec" apply.


libclang 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: