2 ms·
> What would be a good starting point to learn about writing compilers? You also might find the LLVM/Clang kaleidoscope based tutorials interesting to get star
by rvz 7y ago
> What would be a good starting point to learn about writing compilers?
You also might find the LLVM/Clang kaleidoscope based tutorials interesting to get started having an insight into writing an LLVM-based compiler. Also Adrian Sampson has a great article in introducing LLVM for new-comers [1].
[0] https://llvm.org/docs/tutorial https://llvm.org/docs/tutorial
[1] https://www.cs.cornell.edu/~asampson/blog/llvm.html https://www.cs.cornell.edu/~asampson/blog/llvm.html
- pcr910303 7y ago> You also might find the LLVM/Clang kaleidoscope based tutorials interesting to get started having an insight into writing an LLVM-based compiler. Hmm, I've always assumed that the tutorials were for the people who already 'know' compilers enough, it's great that it's more accessible than I thought. Definitely will going to look through them. Great resources :-)
- vrotaru 7y agoIf Haskell is your thing, this may be of interest https://lukelau.me/kaleidoscope/ https://lukelau.me/kaleidoscope/