The obvious Python parser

from blog Alex Clemmer, | ↗ original
I spent my first few weeks at Hacker School writing a Python compiler from basically scratch. The task of merely parsing a complete language like Python can be quite intimidating at the outset. I’ve found that many people simply assume it’s nearly impossible. I began to wonder if it was possible to write a parser so clear that it would seem...