I just decided to start playing around with the Commodore 64 Programmer's Reference Guide that I got in a lot of tech hand-me-downs years ago, and I noticed that your syntax definitions get confused by the optionality of whitespace in CBM BASIC, as demonstrated by this example I chose to type in at random (from page 200):

