Created
February 18, 2017 12:31
-
-
Save igaray/87c6ff9a07d802b0fe273c887852f4ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GRAMMAR: | |
# _Start -> "*" "GOALS" "\n" _Goals | |
# _Goals -> _Goal | |
# | _Goal _Goals | |
# _Goal -> "**" <active> <text> "\n" _Projects | |
# _Projects -> _Project | |
# | _Project Projects | |
# _Project -> "***" <active> <text> "\n"> _ProjectChildren | |
# _ProjectChildren -> _SubProjects | |
# | _Tasks | |
# _Subprojects -> _Subproject | |
# | _Subproject _Subprojects | |
# _Subproject -> "****" <active> <text> "\n" _Tasks | |
# _Tasks -> _Task | |
# | _Tasks | |
# _Task -> "-" <completion> <text> "\n" | |
# | "-" <completion> <text> "\n" _Subtasks | |
# _Subtasks -> _Subtask | |
# | _Subtasks | |
# _Subtask -> " -" <completion> <text> "\n" | |
Examples: | |
todo1.org: | |
* GOALS | |
** + goal: g1 | |
*** + project: p1 | |
- [ ] task: t1 | |
todo2.org: | |
* GOALS | |
** + goal: g1 | |
*** + project: p1 | |
- [ ] task: t1 | |
- [ ] subtask: st1 | |
todo3.org: | |
* GOALS | |
** + goal: g1 | |
*** + project: p1 | |
**** + subproject: sp1 | |
- [ ] task: t1 | |
todo4.org: | |
* GOALS | |
** + goal: g1 | |
*** + project: p1 | |
**** + subproject: sp1 | |
- [ ] task: t1 | |
- [ ] subtask: st1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment