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

Walker's command line grammar definition.


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.


namespace walker
Walker declarations and definitions.
namespace walker::cmd
Walker command line grammar definition.


struct walker::cmd::verbose
verbose (i.e., verbose or quiet output)
struct walker::cmd::charestate
Match and set chare state switch.
struct walker::cmd::virtualization
virtualization parameter
template<typename keyword, typename io_tag>
struct walker::cmd::io
io parameter
struct walker::cmd::helpctr
help on control file keywords
struct walker::cmd::help
help on command-line parameters
struct walker::cmd::helpkw
help on a command-line keyword
struct walker::cmd::quiescence
Match switch on quiescence.
struct walker::cmd::trace
Match switch on trace output.
struct walker::cmd::version
Match switch on version output.
struct walker::cmd::license
Match switch on license output.
struct walker::cmd::keywords
command line keywords
struct walker::cmd::read_string
entry point: parse keywords and until end of string