Some errors :
At the start of the article, inside tokenize function, you have to read :
if number: yield integer_literal_token(int(number))
and inside class end_token:
lbp = 0 # and not ldp = 0
Should be fixed now (I hope). Thanks! /F
Some errors :
At the start of the article, inside tokenize function, you have to read :
if number:
yield integer_literal_token(int(number))
and inside class end_token:
lbp = 0 # and not ldp = 0
Should be fixed now (I hope). Thanks! /F