Replies: 1 comment 1 reply
-
Hey @NekoMaru76, it kind of depends how broad your definition of an alternative is in this regard. When it comes to LL parsers, you're never wrong to go with ANTLR4, which is a parser generator for many languages, with C++ and Go among them. ANTLR has the disadvantage of needing a separate build-tool which runs on the JVM. Otherwise I'm not too familiar with parser tooling in the C++ area (at least no more than google), but for Go the participle parser library seems to be quite similar to what Chevrotain offers, with less embedded action support. Note that Chevrotain is quite unique in what it does, i.e. mixing parser and action code inside of an embedded parser DSL. Most popular parsing libraries are based on EBNF+parser generator tooling. |
Beta Was this translation helpful? Give feedback.
-
Does anyone know any alternative like Chevrotain but for C++?
Or Go?
Beta Was this translation helpful? Give feedback.
All reactions