A simple parser for hypotetical language in Python using no external libraries