Mini-languages in Python

后端 未结 6 1856
长情又很酷
长情又很酷 2020-12-02 07:08

I\'m after creating a simple mini-language parser in Python, programming close to the problem domain and all that.

Anyway, I was wondering how the people on here wou

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 08:01

    Python is such a wonderfully simple and extensible language that I'd suggest merely creating a comprehensive python module, and coding against that.

    I see that while I typed up the above, PLY has already been mentioned.

提交回复
热议问题