Slava Pestov
587d074c0a
calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff)
2010-01-07 00:02:16 +13:00
Doug Coleman
97288b8a04
remove >duration word and instead make a private >nanoseconds word in alarms
2009-11-21 18:01:25 -06:00
Doug Coleman
d1117a66cb
clean up the end of the easter word
2009-11-20 04:27:00 -06:00
Slava Pestov
3d585fa858
Move nano-count>timestamp word to core-foundation.run-loop since its pretty specialized
2009-11-20 00:12:16 -06:00
Doug Coleman
09e9293866
use nanoseconds in the core-foundation run-loop
2009-11-19 19:22:36 -06:00
Doug Coleman
070393df70
use nano-count instead of monotonic counters, dont allow sleeping for
...
timestamps
2009-11-18 16:20:29 -06:00
Doug Coleman
6f7ec206a1
rename millis to system-millis, micros to system-micros, add nano-count
2009-11-18 15:58:48 -06:00
Doug Coleman
54de3addd9
make alarms use monotonic-clock
2009-11-30 16:31:47 -06:00
Doug Coleman
f30230a2e4
add a >duration word
2009-11-15 15:28:18 -06:00
Doug Coleman
d4a88d0e39
add unix-time>timestamp, timestamp>unix-time, and some utility words to calendar
2009-11-14 21:10:54 -06:00
Doug Coleman
4dce86cbad
more calendar utility words
2009-11-12 14:42:41 -06:00
Doug Coleman
e3dc3ae5dd
add more calendar utility words
2009-11-11 17:19:14 -06:00
Doug Coleman
a6f0fcd5b2
add nth day of month
2009-11-11 15:52:30 -06:00
Joe Groff
6e1bffb1c5
update existing code to use :> ( ) when possible
2009-10-28 16:11:33 -05:00
Doug Coleman
2ed4425b7a
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/calendar/calendar.factor
2009-08-13 19:40:02 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
4cca19b528
remove duplicate defintion of unless-zero from calendar
2009-08-13 00:48:50 -05:00
Doug Coleman
4a3d63e00a
use if-zero in a few more places
2009-08-11 18:15:53 -05:00
Doug Coleman
bada2176bc
use new locals syntax in calendar, add routine for calculating easter
2009-04-25 21:21:15 -05:00
Aaron Schaefer
ed9a63311c
Fix typo and update a combinator usage in calendar
2009-04-01 22:03:45 -04:00
Aaron Schaefer
ca9fb1fcf1
Update usages of divisor? where appropriate
2009-04-01 21:53:18 -04:00
Doug Coleman
3b3f38a4cd
use CONSTANT: in calendar
2009-03-12 16:03:10 -05:00
Doug Coleman
990513db60
use CONSTANT: in basis
2009-02-22 19:13:08 -06:00
Slava Pestov
0021cde743
Fix more compile errors
2008-12-15 22:21:56 -06:00
Slava Pestov
daf2857d7b
define-inline now takes an effect parameter
...
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Doug Coleman
3821b417af
remove finance words from calendar
2008-12-06 23:04:54 -06:00
Doug Coleman
e0329d7cf8
remove >r r> from calendar
2008-11-29 12:51:47 -06:00
Doug Coleman
76da98c9bf
move period of time util words to calendar
2008-11-29 12:47:04 -06:00
Slava Pestov
8819f23312
Replace millis primitive with micros primitive
...
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Doug Coleman
9751a38fa7
since-1970 docs
2008-10-06 21:04:30 -05:00
Doug Coleman
4734b62dd8
things in the wrong place still, probably will have some using errors now..
2008-10-06 18:03:56 -05:00
Doug Coleman
0ba6d93626
remove using
2008-10-06 18:02:52 -05:00
Doug Coleman
b168d75a46
add timespec>timestamp word
2008-10-06 17:17:49 -05:00
Doug Coleman
02bb3063ff
add word to convert timevals to unix time, add utility words
2008-10-05 15:21:23 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Doug Coleman
379bf45559
fix private word
2008-09-02 12:06:11 -05:00
Doug Coleman
3a3b5005f6
un-private a word
2008-09-02 01:52:44 -05:00
Doug Coleman
82d0b71b49
move words to private, more docs
2008-09-01 22:16:51 -05:00
Doug Coleman
38b8686161
dt -> duration, lots of docs
2008-09-01 20:10:10 -05:00
Doug Coleman
1b239d294c
docs and stack effects
2008-09-01 18:06:40 -05:00
Doug Coleman
361a7820ce
remove calendar.backend
2008-09-01 11:48:22 -05:00
Doug Coleman
511e78b86b
remove memoized words from calendar. more docs
2008-09-01 11:43:57 -05:00
Doug Coleman
261fc87dca
wtf instant was MEMO: oops. docs
2008-08-31 21:20:56 -05:00
Doug Coleman
7025ebd7ee
docs
2008-08-31 20:19:16 -05:00
Doug Coleman
89264e7726
fix using
2008-08-31 17:29:55 -05:00
Doug Coleman
aa68ea0ce1
fix messup
2008-08-31 17:27:28 -05:00
Doug Coleman
36828477f7
more docs
2008-08-31 15:54:00 -05:00
Doug Coleman
1cc5f7eb41
beginning-of-day -> midnight, add noon word, docs
2008-08-31 12:59:27 -05:00
Doug Coleman
24bfa90a04
refactor calendar a bit, add initial docs
2008-08-29 15:17:15 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00