windelbouwman / ppci

A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python
https://ppci.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
336 stars 36 forks source link

Tool to compile IR to machine code? #118

Open pfalcon opened 4 years ago

pfalcon commented 4 years ago

I had a d'oh moment that I don't know how to compile PPCI IR. Indeed, I don't see a way. @windelbouwman, can we please have one? ppci-llc is currently taken by a LLVM IR wannabe compiler. Assuming it stays that way, something like ppci-irc, ppci-ir or ppci-irasm might work...

windelbouwman commented 4 years ago

This absolutely makes sense. This would enable feeding PPCI IR into a command line tool and grabbing machine code output.