I did a `Lua` script to extract the code examples and test then here https://github.com/robertoraggi/cplusplus/issues/314 to test it's independent parser https://github.com/robertoraggi/cplusplus and other parsers as well like `g++` and `clang` . Around 5% of the examples fail (some are due to missing include files or the libstdc++ installed on my Ubuntu 18.04). If this project doesn't have a script to test the code examples you can use/adapt it .
Activity
mingodad commentedon Feb 12, 2024
See here tree-sitter/tree-sitter-cpp#243 for a script using
tree-sitterandLuato check for errors on the documentation like the ones bellow: