[cfe-dev] Compiling clangd to WebAssembly

Jonathan Beri via cfe-dev cfe-dev at lists.llvm.org
Sat Apr 6 17:09:19 PDT 2019

(originally posted on clangd-dev here

Hi all,

As a learning exercise I am trying to compile clangd as a WebAssembly
target, with the eventual goal of using it as a Language Server in
conjunction with monaco <https://microsoft.github.io/monaco-editor/>, the
code editor behind Visual Studio Code.

So far I've successfully built all combinations of LLVM, clang and clangd
on macOS and Ubuntu. The build system is very easy to use, but rather
complex to understand for someone with limited experience like myself.

Are there any pointers to help me better understand clangd's Makefile?
Walking up the tree of parent files and environment variables hasn't
brought any clarity.

P.S. before I got any further, has anyone else tried this?

Jonathan Beri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190406/bb04ff83/attachment.html>

More information about the cfe-dev mailing list