3 ms·
It’s a shame there aren’t too many cross language tools. You build your clever new tool for Java and python devs get it for free. As I understand it, language s
by 6gvONxR4sf7o 6y ago
It’s a shame there aren’t too many cross language tools. You build your clever new tool for Java and python devs get it for free. As I understand it, language servers are an attempt to do some of that. I wonder what extent that line of thinking applies to more sophisticated things like OP is talking about. Or are the commonalities between languages only limited to surface level magic?
- WrtCdEvrydy 6y agoWe've done this now with JSON APIs... even most libraries now just a JSON API and then give you a language binding.
- TeMPOraL 6y agoLanguage servers and debugger integration (via Debugger Adapter Protocol) are indeed a way to partially achieve it, but they're generalized only to the extent the protocol generalizes languages and operations on code - you get relatively uniform interface on the client (editor/IDE) side, but all the magic bits normalizing a particular language/compiler need to be implemented on the language server side. I'm hopeful, though. I think that at least the "Reflexion Models" thing could be replicated with what LSP gives you.