Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

LLVM has a pretty decent walk-through/tutorial for building an LLVM language frontend. I know it's in the article but this is definitely my go to for helping people learn about using LLVM.

https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index...

Not by any means a tutorial but Rust has a guide for understanding their LLVM compiler frontend. It has some useful insights into what actually makes up a real "production grade" compiler outside the stuff in the LLVM tutorial.

https://rustc-dev-guide.rust-lang.org/



Thank you for the references - I'll take a look.

Awesome jobs by Rust to keep something like that (hopefully updated too), since the lack of updated information usually is the bigger barrier of entry for contributing/working on stuff like that. I struggle to find something similar and in-depth for clang, but I guess the bigger complexity makes it more difficult.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: