Doug Coleman
9b97da0658
calendar.format: Add a word to format time to a string for convenience.
2018-07-08 22:57:24 -05:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson
ca03896d74
more test IN: cleanup.
2018-02-15 09:20:01 -08:00
Alexander Iljin
183da87bf4
calendar.parser: simplify hms>duration
2018-01-22 07:58:17 -08:00
John Benediktsson
1a38a6f63a
calendar.model: delete in favor of inline timers in lcd vocab.
2017-10-25 11:53:37 -07:00
Björn Lindqvist
1ca8276df4
basis/,core/,extra/: many new tags
2017-07-06 23:04:18 +02:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Alexander Iljin
e44104c8d2
calendar.format: restore the deleted duration>hm
...
It was replaced with duration>hms, but the version without the seconds is
also useful.
2017-04-25 15:38:51 -04:00
Björn Lindqvist
6b29a50cd4
calendar.parser: invalid date checking for the parsing words
2017-01-05 23:35:10 +01:00
Björn Lindqvist
4c097a396a
calendar: value checking to make it hard to create invalid timestamps
2017-01-05 23:35:10 +01:00
Björn Lindqvist
97a57f4041
calendar.parser: fixing rfc822 so it doesn't break in trailing space
2017-01-05 12:38:05 +01:00
Björn Lindqvist
b17590db24
calendar.*: replacing hms>timestamp and timestamp>hms with duration variants
...
hms>duration is better because a timestamp without a date is
invalid. This also makes it so the SQL TIME column maps to duration. Now
we can add some validation so that you aren't allowed to create invalid
timestamps.
2017-01-05 12:38:05 +01:00
Björn Lindqvist
c48319cb35
calendar.format: unused word
2017-01-05 12:38:05 +01:00
Björn Lindqvist
3bbc784fad
calendar.parser,robots: hhmm>timestamp -> hhmm>duration
...
Better to parse it as a duration because it is not a valid timestamp.
2017-01-04 09:10:15 +01:00
Björn Lindqvist
2895d5e095
calendar.format: moving parsing words to a new vocab calendar.parser
...
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
Björn Lindqvist
f9b9ce20f2
calendar.english: new vocab for english names for days and months
...
This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.
2017-01-03 15:48:08 +01:00
Björn Lindqvist
13ec2e41b9
calendar.format.tests: stray char
2017-01-03 06:09:09 +01:00
John Benediktsson
4e9ad6ada7
calendar.format: parse rfc822 military and named timezones.
2016-12-31 13:50:08 -08:00
John Benediktsson
556a2b2b5b
calendar.format: allow UTC to be in rfc822 timestamps.
2016-12-31 13:22:49 -08:00
Alexander Iljin
a337a0349d
calendar.format: add hm>timestamp
2016-07-30 09:25:30 -07:00
Doug Coleman
391f8e433f
basis: Cleaning up tests using lists and IN: forms.
2016-03-30 20:04:14 -07:00
Jon Harper
19fadb6c96
prettyprinter, locale independant float printing
2016-03-08 07:55:25 -08:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
2c257f399c
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
2015-07-18 22:16:11 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman
769af0673a
calendar.format: Add a word to output times in the format that git uses. Rename a paren word.
2015-05-31 15:08:51 -07:00
John Benediktsson
3d86fba48b
calendar.format: use format-float more.
2014-11-28 21:27:30 -08:00
Benjamin Pollack
2c3dd8c3c8
Remove executable bit from tons of files that aren't
2014-11-05 20:40:42 -08:00
John Benediktsson
794baf3222
calendar.format: change rfc3339 to always print microseconds.
2014-10-08 15:40:04 -07:00
John Benediktsson
13e5edc007
Revert "calendar.format: change to use formatting instead of math.parser.private."
...
This reverts commit 3cfac7916a
.
2014-09-24 07:42:45 -07:00
John Benediktsson
3cfac7916a
calendar.format: change to use formatting instead of math.parser.private.
2014-08-05 11:43:26 -07:00
John Benediktsson
116086ddf7
calendar.format: use math.parser format directive.
2014-07-08 16:03:02 -07:00
Jon Harper
484ddae159
calendar.format: rfc3339, don't drop seconds decimals
2014-07-08 15:53:52 -07:00
Jon Harper
278fe4830f
calendar.format: allow space or tabs in rfc3339
2014-06-01 16:47:04 +02:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
00ea6900db
calendar: clone timestamps in >gmt and >local-time.
2014-04-21 08:17:43 -07:00
John Benediktsson
d1b1eabf1e
calendar: M\ timestamp clone should clone gmt-offset.
2014-04-20 19:34:22 -07:00
John Benediktsson
a3ba2c3b7c
calendar.threads: implement M\ timestamp sleep-until.
2014-04-20 19:32:08 -07:00
John Benediktsson
94e9563a15
calendar.threads: simplify.
2014-04-20 19:22:56 -07:00
Björn Lindqvist
eaca04de3b
libc: several vocabs now need to depend on libc
2014-04-02 12:13:00 -05:00
John Benediktsson
e5850f93e0
calendar.unix: simplify current-timeval.
2014-02-27 15:26:52 -08:00
Doug Coleman
b6439e3cba
calendar.format: run dos2unix on calendar.format
2013-04-24 08:23:17 -07:00
Doug Coleman
9f28391e6b
calendar.format: Fix timestamp parsing when there is no timezone. Fixes #861 .
2013-04-24 08:23:17 -07:00
John Benediktsson
8d3acb68f5
zoneinfo: fix for calendar renaming.
2013-03-20 09:02:40 -07:00