Writing a compiler for a DSL in python

前端 未结 8 1960
囚心锁ツ
囚心锁ツ 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:20

    There are plenty of Python parsing tools: http://nedbatchelder.com/text/python-parsers.html

提交回复
热议问题