What grammar based parser-generator tools exist for ruby?

前端 未结 3 405
终归单人心
终归单人心 2021-02-04 16:33

What open source (preferably gem-based) parser-generator options do I have in Ruby?

I\'ve used (flex&bison)|(lex&yacc) from C in the past, and I

相关标签:
3条回答
  • 2021-02-04 16:45

    Citrus is an option - similar but not identical to Treetop in its grammar.

    0 讨论(0)
  • 2021-02-04 16:51

    There's also parslet if you want a PEG-based processor

    0 讨论(0)
  • 2021-02-04 16:55

    Have you looked at rex and racc, the gem versions of lex and yacc?

    0 讨论(0)
提交回复
热议问题