summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordfhoughton <dfhoughton@gmail.com>2018-12-27 10:13:05 -0500
committerdfhoughton <dfhoughton@gmail.com>2018-12-27 10:13:05 -0500
commit0aa586ac588a267e51681773e7460b438d1cf53d (patch)
tree081ea6681618bb976f001364fe534053f67c95b2 /src
parent984fdec13402f9f8000e4d85852a70e288dc4537 (diff)
downloadtwo-timer-0aa586ac588a267e51681773e7460b438d1cf53d.zip
added some more synonyms for fun
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1e335b0..d6e985c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,8 +32,34 @@ lazy_static! {
moment -> <at_time_on>? <some_day> <at_time>? | <specific_time>
specific_time => <time> | <absolute_terminus>
absolute_terminus => <first_time> | <last_time>
- first_time => [["the beginning", "the beginning of time", "the first moment", "the start", "the very start", "the first instant"]]
- last_time => [["the end", "the end of time", "the very end", "the last moment", "eternity", "infinity", "doomsday", "the crack of doom"]]
+ first_time => [[
+ "the beginning",
+ "the beginning of time",
+ "the first moment",
+ "the start",
+ "the very start",
+ "the first instant",
+ "the dawn of time",
+ "the big bang",
+ ]]
+ last_time => [[
+ "the end",
+ "the end of time",
+ "the very end",
+ "the last moment",
+ "eternity",
+ "infinity",
+ "doomsday",
+ "the crack of doom",
+ "armageddon",
+ "ragnarok",
+ "the big crunch",
+ "the heat death of the universe",
+ "doom",
+ "death",
+ "perdition",
+ "the last hurrah",
+ ]]
some_day => <specific_day> | <relative_day>
specific_day => <adverb> | <date_with_year>
relative_day => ("bar")