src/Control/Inciter/CmdLine/Grammar.hpp file

Inciter's command line grammar definition.

Contents

Grammar definition for parsing the command line. We use the Parsing Expression Grammar Template Library (PEGTL) to create the grammar and the associated parser. Word of advice: read from the bottom up.

Namespaces

namespace inciter
Inciter declarations and definitions.
namespace inciter::cmd
Inciter command line grammar definition.

Classes

struct inciter::cmd::verbose
Match and set verbose switch (i.e., verbose or quiet output)
struct inciter::cmd::charestate
Match and set chare state switch.
struct inciter::cmd::nonblocking
Match and set non-blocking (migration) switch.
struct inciter::cmd::benchmark
Match and set benchmark switch (i.e., benchmark mode)
struct inciter::cmd::feedback
Match and set feedback switch (i.e., feedback mode)
struct inciter::cmd::virtualization
Match and set virtualization parameter.
template<typename keyword, typename io_tag>
struct inciter::cmd::io
Match and set io parameter.
struct inciter::cmd::help
Match help on command-line parameters.
struct inciter::cmd::helpctr
Match help on control file keywords.
struct inciter::cmd::helpkw
Match help on a command-line or control file keyword.
struct inciter::cmd::quiescence
Match on quiescence switch.
struct inciter::cmd::lbfreq
Match and set load-balancing frequency.
struct inciter::cmd::rsfreq
Match and set checkpoint/restartfrequency.
struct inciter::cmd::trace
Match switch on trace output.
struct inciter::cmd::version
Match switch on version output.
struct inciter::cmd::license
Match switch on license output.
struct inciter::cmd::keywords
Match all command line keywords.
struct inciter::cmd::read_string
Grammar entry point: parse keywords until end of string.