We delve into expression parsing and end this series with a rambling outlook over what you would have to do once you have a parser. Source code: github.com/uli...
@@amitdubey9384 You recursively call each operation's arguments in the tree to generate an instruction. A value (like a number) is just a PUSH_IMMEDIATE_INT instruction pushing that number. Once you've pushed both arguments, you generate code for the actual instruction (e.g. ADD_INTS), which pops both of its arguments and pushes the result.