3 ms·
+1 for LLVM. It's hard to grok at first, but the Kaleidoscope ([0]) tutorial lets you hit the ground running. After that, it's very rewarding to learn LLVM's AP
by poidos 6y ago
+1 for LLVM. It's hard to grok at first, but the Kaleidoscope ([0]) tutorial lets you hit the ground running. After that, it's very rewarding to learn LLVM's API by googling, poking around their excellent source code, and having clang emit IR for you (`clang -S -emit-llvm -O0 test.c`)
[0]: https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index...