utils: Implement sexp command parser

Implement a sexp parser, and on top of that a command parser (for mu4e
commands). Add tests, too.
This commit is contained in:
Dirk-Jan C. Binnema
2020-01-18 13:35:01 +02:00
parent b2bdb8b30c
commit c7680b78b9
8 changed files with 890 additions and 43 deletions

View File

@ -70,6 +70,9 @@ struct Error final: public std::exception {
va_end(args);
}
Error(Error&& rhs) = default;
Error(const Error& rhs) = delete;
/**
* Build an error from a GError an error-code and a format string
*