"every x seconds do something" and "every day at x time do something"
They correspond to builtins @$at and @$timer.
I think we should merge them because:
1) Time rules are special enough that they warrant their own grammar rule
2) Time rules are language builtins so they won't be resolved from thingpedia
3) Time rules are sufficiently different in language structure from other triggers that they don't fit in the "something happens and condition and condition and condition" scheme
(which makes the paraphrasing poorer, probably)
4) Time rules are easy to understand because they fit into a daily routine.
"Wake me up at 7.50. Make me coffee at 8. Get directions to work at 8.30".
5) Time rules are very useful for continuous queries where a trigger is not really meaningful
Think: "monitor if weather changes" vs "every day at 12pm get weather forecast"
They kinda do they same thing but the second one is more explicit.
"every x seconds do something" and "every day at x time do something" They correspond to builtins @$at and @$timer.
I think we should merge them because:
1) Time rules are special enough that they warrant their own grammar rule
2) Time rules are language builtins so they won't be resolved from thingpedia
3) Time rules are sufficiently different in language structure from other triggers that they don't fit in the "something happens and condition and condition and condition" scheme (which makes the paraphrasing poorer, probably)
4) Time rules are easy to understand because they fit into a daily routine. "Wake me up at 7.50. Make me coffee at 8. Get directions to work at 8.30".
5) Time rules are very useful for continuous queries where a trigger is not really meaningful Think: "monitor if weather changes" vs "every day at 12pm get weather forecast" They kinda do they same thing but the second one is more explicit.