I am writing a compiler and trying to figure out how to differentiate between the following different types of control flow: -for loops/while loops -if/else statement -switch case -do while loops If anyone has any references to this topic or any tricks, I would appreciate your sharing them. I have been searching in google, google scholar, and my university's library database for information related to this, and have not found anything that was very helpful. Thank you!
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.