Compiler basics
Jan 2, 2019 Comments
•Well, I am back from a long vacation, ready to continue from where we stopped back in October. As a recap, we learned how to store bytecode along with its constants. All this time we wrote bytecode by hand because we did not have any means to generate it for us. This is going to change now.
Today we start implementing the basics of the compiler, and by the end of this post, we will be able to compile the four basic arithmetic expressions into bytecode. Exciting, isn’t it? Let’s jump into it.