A toy parser for Python-like language