Open thatTPR opened 3 years ago
LSP already has an MLIR implementation. What I am suggesting is extending the index format to support the LLVM/MLIR backend in a language agnostic way. I guess what I am suggesting is building on top of the compiler backend to improve diagnostic tooling. If successful the diagnostics and various other LSP features would be tied to the specific compiler the dev is using thus producing far better data for the ide to use. This would prove to be a very large effort and Truth be told there is no reason to believe that it is even possible. The overhead would be huge. But I do think it warrants some research. I have been looking into it but the whole LLVM project is huge and this is not a one man thing. Probably thousands of hours of development This is mainly useful for multi language
Currently hosted on LANGIUM as a discussion but this might be better suited here so I am posting it here as well :https://github.com/langium/langium/discussions/267