Writing a compiler for a DSL in python

前端 未结 8 1957
囚心锁ツ
囚心锁ツ 2021-02-02 03:51

I am writing a game in python and have decided to create a DSL for the map data files. I know I could write my own parser with regex, but I am wondering if there are existing py

8条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 04:35

    I've always been impressed by pyparsing. The author, Paul McGuire, is active on the python list/comp.lang.python and has always been very helpful with any queries concerning it.

提交回复
热议问题