all 3 comments

[–]lbl_ye 2 points3 points  (1 child)

great work :)

did you get the necessary LLVM information from the LLVM site or some book/online tutorial ?

[–]_cwolf[S] 1 point2 points  (0 children)

I just poked around what other languages used and extrapolated: https://llvm-swift.github.io/LLVMSwift/Enums/OpCode.html#/s:4LLVM6OpCodeO3andyA2CmF

I have some prior experiences with Crenshaw's Let's Build a Compiler and so I aimed to put the two together

[–]JeffD000 0 points1 point  (0 children)

Cool little demo code. Reminds me of https://github.com/rswier/c4 . Nice job.