3 ms·
As the other comment says, LLVM has a text based IR. But you may also want to look into QBE which is simpler and lighter weight than LLVM but has a similar text
by MobiusHorizons 5y ago
As the other comment says, LLVM has a text based IR. But you may also want to look into QBE which is simpler and lighter weight than LLVM but has a similar text interface so you could start with that to get up and running, and then add support for llvm later.
- lioeters 5y agoTo save anyone else a search: QBE: Compiler Backend - https://c9x.me/compile/ https://c9x.me/compile/ QBE vs LLVM - https://c9x.me/compile/doc/llvm.html https://c9x.me/compile/doc/llvm.html