mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
timew: Added notes for implementation
This commit is contained in:
parent
cf19677488
commit
d8e4946537
1 changed files with 9 additions and 3 deletions
|
@ -44,16 +44,22 @@ int main (int argc, const char** argv)
|
|||
{
|
||||
try
|
||||
{
|
||||
// TODO Initialize configuration.
|
||||
// TODO Load grammar.
|
||||
// TODO Load configuration ~/.timewrc || $TIMEWRC.
|
||||
|
||||
// TODO Load CLI grammar.
|
||||
// TODO Load from string, else file on config override.
|
||||
// TODO Migrate from loading a grammar from file, to a string.
|
||||
File file ("./grammar.cfg");
|
||||
Grammar grammar;
|
||||
grammar.loadFromFile (file);
|
||||
std::cout << grammar.dump ();
|
||||
|
||||
// TODO Load rules.
|
||||
// TODO Parse CLI.
|
||||
|
||||
// TODO Load rules grammar.
|
||||
// TODO Load rules.
|
||||
// TODO Parse rules.
|
||||
|
||||
// TODO Dispatch to commands.
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue