Last week, we learned about the history of the compiler and about the lexer. This week we are talking about parsing.
This week I am talking about the parts of the compiler, doing a deep dive into the Lexer and Parser and showing how to build the Lexer and Parser in Python. At the end of this post, we should have a working lexer and parser.
This week, I am doing something new. Something most people will shy away from. But not me! Why? Because I am a masochist. So what am I doing? I am going to start creating a completely new language.