3 ms·
There is Boost.Spirit. We use it but I find its cleverness just results in incomprehensible code. https://www.boost.org/doc/libs/1_84_0/libs/spirit/classic/doc
by secondcoming 3y ago
There is Boost.Spirit. We use it but I find its cleverness just results in incomprehensible code.
https://www.boost.org/doc/libs/1_84_0/libs/spirit/classic/doc/introduction.html https://www.boost.org/doc/libs/1_84_0/libs/spirit/classic/do...
- timhh 3y agoAh yeah I should have said "a library for which the integration is easier than writing my own library from scratch"!
- amag 3y agoLast I used it, even pretty small grammars took forever to build. I had to be very diligent not to let the grammar cpp-file depend on anything else in my codebase.
- nly 3y agoIt wouldn't be efficient for expression parsing. Spirit is a recursive descent parser.