yes, this is the thinng i couldn't find another way around without straying too far from the original pattern i cloned from the objC parser.
i'd need 'peek' based reader. i dont know what helpers there are already. 

the original lexer code i inherited looked awful to me, using global variables to pass state along. i've tried to rework it with a local struct