Tyler Williams @coolsoftware.dev · May 12

Having a blast with more compiler visualizations. This one is helping me understand backpatching:

3 likes 1 replies

?

Replies

Tyler Williams · May 12

If your compiler only has one pass at the nodes in your abstract syntax tree, and you have an if/else statement, how can it know ahead of time where you want it to jump to in the else case?