 |
Current inputs and future inputs
Here I'm brainstorming a series of inputs that I'd like to work towards supporting. These are all statements about me.
Currently supported statements, and their core representation:
  | My first name is Daniel |
 | speaker.first_name = 'Daniel' |
  | My middle name is James |
 | speaker.middle_name = 'James' |
  | My last name is Bigham |
 | speaker.last_name = 'Bigham' speaker.full_name = 'Daniel Bigham' (derived) |
  | I am a Christian |
 | speaker is_a Christian |
  | I work at Navtech |
 | speaker.employer = NavtechInc |
  | I am a man |
 | speaker is_a man |
  | I am 27 |
 | speaker.age = 27 |
  | My birth month is November |
 | speaker.birth.date.month = November |
  | My birth year is 1980 |
 | speaker.birth.date.year = 1980 |
  | My wife's name is Meredith |
 | speaker.wife.first_name = 'Meredith' |
  | I live in Waterloo |
 | speaker.home.city = Waterloo |
  | I live in Canada |
 | speaker.home.country = Canada |
  | I live in Ontario |
 | speaker.home.province = Ontario |
  | My eye color is blue |
 | speaker.eye.color = blue |
  | My hair color is strawberry blond |
 | speaker.hair.color = strawberry_blond |
Future:
  | My birthday is Nov 20 |
 | Requires parsing 'Nov 20' into a structure that contains a day-of-month and a month speaker.birth.date = $d, $d is_a date, $d.month = November, $d.day = 20 |
... |
|
 |