My own language
Hey guys! I'm on a project of my own programming language. I already got syntax, lexer, parser, ast etc. (in C++) The problem is, I'm trying to code a virtual machine for my language but I don't know how many registers to use. So far, I discovered that I need only two, which are both vector<string>. One for returning from functions (keep where I am), and second for.. well.. the stack. But I'm not sure and just wanted to ask. How many registers do I really need?