This follows the same general structure of the MLIR and PDLL language
servers. This commits adds the basic functionality for setting up the server,
and initially only supports providing diagnostics. Followon commits will
build out more comprehensive behavior.
Realistically this should eventually live in llvm/, but building in MLIR is an easier
initial step given that:
- All of the necessary LSP functionality is already here
- It allows for proving out useful language features (e.g. compilation databases) without affecting wider scale tablegen users
- MLIR has a vscode extension that can immediately take advantage of it
Shall we just call this tblgen-lsp-server? Given this isn't mlir specific, should move eventually and doesn't cause confusion (there isn't another TableGen LSP to differentiate with)