Python implementation of Parsec?

后端 未结 6 1383
名媛妹妹
名媛妹妹 2021-02-19 11:17

I recently wrote a parser in Python using Ply (it\'s a python reimplementation of yacc). When I was almost done with the parser I discovered that the grammar I need to parse re

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-19 11:28

    There's ANTLR, which is LL(*), there's PyParsing, which is more object friendly and is sort of like a DSL, and then there's Parsing which is like OCaml's Menhir.

提交回复
热议问题