I have gone through the docs and found out that in order to provide diagnostics for a custom language in Monaco editor, we need to write our own language server/client. In example [1], it is written in Typescript. Can we write the server in Javascript itself?
[1] https://github.com/Microsoft/vscode-languageserver-node-example/tree/master/client