I feel like HN seems to be good place to ask this question because compilers seems to be quite popular topic here, so I'm going to ask
I want to write yet another programming lang which uses LLVM to generate WebAssembly
My perception of it is that I have to write parser of my lang and then some "translation layer" which will translate abstraction over my language to LLVM IR
But I'm not sure whether I should write "raw IR" or use some library like https://github.com/microsoft/LLVMSharp
I feel like "raw IR" is better / more reliable way, but I've no experience with low lvl stuff (asm and so on)
Also I'm not sure about how good LLVMSharp actually is
PS: I've heard about other LLVM IR wrappers in other languages, I'd rather stick to C# because I have some kind of deadline on it
Thanks in advance