3 ms·
If you're not looking to implement one totally from scratch, this could be a good start: http://llvm.org/docs/tutorial/ http://llvm.org/docs/tutorial/
by connorjan 9y ago
If you're not looking to implement one totally from scratch, this could be a good start: http://llvm.org/docs/tutorial/ http://llvm.org/docs/tutorial/
- m-j-fox 9y agoYeah, I've been working on LLVM lately and it seems like they've solved all the problems. Somehow, they solved them in standard C++. I've been through a bunch of compilers and I could barely hang on. In LLVM, everywhere I go, I'm like: oh, so that's how you do that. One thing that helped get started was slides from a CMU class. Hang on: https://www.cs.cmu.edu/~15745/syllabus.html https://www.cs.cmu.edu/~15745/syllabus.html Excellent work and so nice of them to post it for free.