Ask HN: Resources for learning LLVM?

https://news.ycombinator.com/item?id=16622633
by creatornator • 8 years ago
1 0 8 years ago

Recently I've been interested in learning more about compiler and interpreter design. I've started by putting together a template for projects that use lex and yacc https://github.com/MatanSilver/cookiecutter-yacc

I successfully used that and some articles on writing LLVM frontends, like https://gnuu.org/2009/09/18/writing-your-own-toy-compiler/ to write a compiler for a simple language with a c-like syntax. I was wondering if there are resources or utilities that make writing compilers a more accessible task? I couldn't find many up-to-date articles with instructions on using LLVM (many, including the linked article, use old LLVM API's). The project's own documentation is quite daunting...

Related Stories

Loading related stories...

Source preview

news.ycombinator.com