How is variable reassignment dealt with in code generation in compilers?
I’m trying to build my own compiler with C++ for my own basic programming language. In the beginning, I was following a series of YouTube videos from the channel Pixeled, but after a while I decided to stop watching them and try to continue the project on my own. Currently all I have is variable declaration (only of integers), binary operations (sum, subtraction, division, multiplication and comparisons), if statements, and (not functioning) variable reassignment.