parser
parser copied to clipboard
A C++ parser combinator library.
propagate the selected compiler from cmake down to the boost bootstrap process without these correction the boost bootstrap build of b2 will fail on windows with e.g. clang for clang...
move declaration of 'buf' one line down into region of #if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS as it is only used in such one.
Lots of times when people get down into the nitty gritty of using a parsing framework, it's because their ad-hoc attempts at using a regex or whatever for a complicated...
MSVC in cmake has always been a boolean variable ( see https://cmake.org/cmake/help/latest/variable/MSVC.html) detecting the MSVC Compiler requires therefore 'if (MSVC)' in CMakeLists.txt further, the MSVC Compiler will always emit '199711L'...
https://github.com/tzlaine/parser/blob/4cea9c03d6baf8165a21162e66be4f99ec85b529/include/boost/parser/detail/text/transcode_view.hpp#L178 Clang 18.1.4 with `-std=gnu++23` complains here that this friend function must be defined, not just declared. It seems correct according to [13.7.5 Friends](https://eel.is/c++draft/temp.friend#9).
https://github.com/tzlaine/parser/blob/4cea9c03d6baf8165a21162e66be4f99ec85b529/include/boost/parser/config.hpp#L83 `__clang__` above is not the Clang version; it's equal to 1. ``` $ clang++ --version clang version 18.1.4 (https://github.com/llvm/llvm-project.git e6c3289804a67ea0bb6a86fadbe454dd93b8d855) Target: x86_64-unknown-linux-gnu Thread model: posix $ clang++ -x c++...
We're about to use this library in a big software project that has strict guidelines about compiler warnings. The parser library emits a bunch of `unused parameter` warnings. We could...
This is to make it easy to write `a || b || c`, and have delimiters in between all of them, but not before the first or after the last....
The new parameters would be something like: ```c++ bool Omit, typename Prefix, typename Suffix, ... ``` It turns out that the `omit_parser::call()` shows up pretty high in profiling of Parser....
Spirit V2 had parsers for binary values. When parsing binary file formats, e.g. PNG image file format, numeric values are present as binary encodings using a particular byte order. IMO,...