goals: “This part is needed to solve this task” “This code is for overcoming this problem” Chapter 11 Finite-state scanner “Understanding data structure” https://ruby-hacking-guide.github.io/contextual.html Iron Rule #2
end of the line 2. Get next line 3. Check next token to determine generate NL 4. Go back to previous line and hold next line 5. “nextline” is set to “lastline”