Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 1.29 KB

DSL.md

File metadata and controls

55 lines (44 loc) · 1.29 KB

DSL for Journal

Requirements

  1. Tags support.
  2. Can consider different kind of tasks
  3. Period - Start & End of task
  4. Just a note
  5. Overlapping task
  6. Analysis:
  7. Can calculate context switching percentile
  8. Graphs based on tags
  9. Time spent in tasks
  10. Reminders support
  11. Structures to ease analysis
  12. Views support:
  13. To show filtered list - all, done, pending etc.
  14. Multi-tab support to segregate similar type of journal - reminders, tasks etc.

DSL Rules

  1. Continue line -
  2. Bullet line *,1,2,3
  3. Add commands to do operations. e.g. delete previous line etc
  4. Add index using colon :. e.g. tag:journal, importance:5, type:reminder

Supported Types

Events

with/without period info (start, complete etc)

Ideas, thoughts

Reminders

Tasks

Properties

  1. Importance
  2. Urgent
  3. Significant

Commands

Properties of commands

  1. Should be simple, i.e. negligible learing curve
  2. Should be intuitive.
  3. Commands will case insensitive
  4. Follow simple english rules:
  5. present simple verb represent action
  6. present continues verb represent start of action
  7. present perfect verb represent end of action

Supported commands

  1. exit: Exit application
  2. started: Start of an action
  3. completed: Completion of an action