• Home
Name Date Size #Lines LOC

..--

Jamfile.v2D12-May-202435 21

READMED12-May-2024537 1310

main.cppD12-May-20246.4 KiB319253

README

1Parsers parsing "a* b* a*" and counting the appearance of the characters.
2This parser is implemented in three different ways:
3- One built with Metaparse
4- One implemented using constexpr functions
5- One built with Metaparse but parsing a subexpression with a constexpr parser:
6  - a* at the beginning is parsed using a Metaparse parser
7  - b* is parsed using a constexpr function
8  - a* at the end is parsed using a Mataparse parser again
9
10This example demonstrates how Metaparse can be combined with parsers using
11constexpr functions.
12
13