In the previous article, we get an overview of how bytecode is executed in a stack machine. In this article, we continue to dive into the details of a different scenario: Variable declaration. In the…
Different programming languages have different approaches to executing their code. Some languages execute the code as they travel the AST (Tree Walk approach), and some languages compile the code into…