• Login or register

discuss.effbot.org

  • Popular
  • Recent
  • 2 points by kib2 1 year ago on Simple Top-Down Parsing in Python 1 child

    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

    • parent
    • reply
    • 1 point by effbot 1 year ago 0 children

      Should be fixed now (I hope). Thanks! /F

      • link
      • reply
  • Widget
  • Recent Comments
  • Leaders
Powered by