file
Grammar.hppRNGTest's command line grammar definition.
Contents
- Reference
Grammar definition for parsing the command line. We use the Parsing Expression Grammar Template Library (PEGTL) to create the grammar and the associated parser. Credit goes to Colin Hirsch (pegtl@cohi.at) for PEGTL. Word of advice: read from the bottom up.
Namespaces
- namespace rngtest
- RNGTest declarations and definitions.
- namespace rngtest::cmd
- RNGTest command line grammar definition.
Classes
- struct rngtest::cmd::verbose
- Match and set verbose switch (i.e., verbose or quiet output)
- struct rngtest::cmd::charestate
- Match and set chare state switch.
-
template<typename keyword, typename io_tag>struct rngtest::cmd::io
- Match and set io parameter.
- struct rngtest::cmd::helpctr
- Match help on control file keywords.
- struct rngtest::cmd::help
- Match help on command-line parameters.
- struct rngtest::cmd::helpkw
- Match help on a command-line keyword.
- struct rngtest::cmd::quiescence
- Match switch on quiescence.
- struct rngtest::cmd::trace
- Match switch on trace output.
- struct rngtest::cmd::version
- Match switch on version output.
- struct rngtest::cmd::license
- Match switch on license output.
- struct rngtest::cmd::keywords
- Match all command line keywords.
- struct rngtest::cmd::read_string
- Grammar entry point: parse keywords until end of string.