Is the ANTLR parser generator best for a C++ app with constrained memory?

前端 未结 7 1664
粉色の甜心
粉色の甜心 2021-02-06 08:10

I\'m looking for a good parser generator that I can use to read a custom text-file format in our large commercial app. Currently this particular file format is read with a handm

7条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 08:16

    Then why don't you use flex/yacc? It generates C code,can be run from MSVC, was developped with efficiency in mind, can have malloc overriden (google for yymalloc), they are themselves GPL, but the resulting code (the code you use in your project) AFAIK not.

    Or use a hand-made parser.

提交回复
热议问题