What are the disadvantages of the Spirit parser-generator framework from boost.org?

后端 未结 5 1919
情歌与酒
情歌与酒 2021-01-30 10:48

In several questions I\'ve seen recommendations for the Spirit parser-generator framework from boost.org, but then in the comments there is grumbling from people using Spirit wh

5条回答
  •  不要未来只要你来
    2021-01-30 11:27

    I would say the biggest problem is the lack of any diagnosis or other help for grammar problems. If your grammar is ambiguous, the parser might not parse what you expect it to, and there's no good way of noticing that.

提交回复
热议问题