In the video tutorial Let's build a compiler you learn how to write your own compiler for your own programming language using these technologies:
The videos are posted in the channel yankee's coding workshops.
This project contains the sources created in the tutorial.