Commit Graph

86 Commits (e880095da34f15d1257da37ec6bc80e245409cfe)

Author SHA1 Message Date
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
Doug Coleman 76580da5d5 Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
otoburb b0baf118af holidays.factor: Replaced use of deprecated 'spin' word with locals. 2011-03-15 01:51:27 +00:00
Doug Coleman 8ef279e020 Fix load error in calendar 2010-03-02 11:38:35 -06:00
Doug Coleman c6ddc40958 fix holiday-names word 2009-11-13 14:59:48 -06:00
Doug Coleman 48394f8449 working on holiday names from timestamp 2009-11-13 14:53:27 -06:00
Doug Coleman 4c9e5932de clean up holidays.us 2009-11-12 15:50:02 -06:00
Doug Coleman 9ccc22304d better factoring for us-federal-holiday? 2009-11-12 14:48:55 -06:00
Doug Coleman 16af61bfbd fix typo 2009-11-12 14:44:01 -06:00
Doug Coleman 0c56f2d6af redo holidays 2009-11-12 14:43:11 -06:00
Doug Coleman a9eb2de22d messed up inauguration-day 2009-11-11 17:28:53 -06:00
Doug Coleman a2fe85b34a add US holidays vocab 2009-11-11 17:20:01 -06:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov 75338b577c Rename from-now to hence 2008-07-08 15:50:38 -05:00
Slava Pestov 1c7d18bcc9 Get rid of a -roll usage 2008-07-08 13:33:08 -05:00
Slava Pestov 4c31bc0aba Remove unused symbols 2008-06-30 01:44:39 -05:00
Slava Pestov 1bb8fe41e8 Plug minor memory leaks 2008-06-11 20:27:31 -05:00
Slava Pestov 05fb5fcb17 Fix unit test 2008-06-09 03:20:27 -05:00
Slava Pestov ba8f1388ab Fixing everything for mandatory stack effects 2008-06-09 02:14:14 -05:00
Slava Pestov 2793d9b195 Fix unit tests 2008-06-08 16:47:20 -05:00
Slava Pestov 9dd5c9919f Mandatory stack effect annotations 2008-06-08 15:32:55 -05:00
Slava Pestov 9d04629d4c We can now parse reddit's RSS feed 2008-05-26 00:48:28 -05:00
Doug Coleman 47abbfc4c6 fix calendar for <=> change 2008-04-27 22:44:30 -05:00
Slava Pestov 9a5d34ae7b Fix conflicts 2008-04-27 03:19:41 -05:00
Slava Pestov 0b0e460857 Improved cookie support, and better session manager taking advantage of it 2008-04-27 03:09:00 -05:00
Doug Coleman 60fb68d1de rename state-parser:rest to take-rest 2008-04-26 18:44:28 -05:00
Doug Coleman 4d0ba8c3c1 reverse args for assoc-diff, diff
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00
Doug Coleman b7c1f9dbe8 extra changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:17:08 -05:00
Slava Pestov 6afa62b57c Add RFC822 date parser 2008-04-22 20:19:54 -05:00
Slava Pestov f7df948b06 Documentation updates 2008-04-13 09:34:27 -05:00
Doug Coleman 83a467fd6a fix calendar. oops 2008-04-11 14:25:37 -05:00
Doug Coleman 5fa3bd8c74 cond/case 2008-04-11 12:55:57 -05:00
Doug Coleman 28d804d2c4 remove calendar-backend and use os 2008-04-02 18:28:55 -05:00
Doug Coleman 393f77715c update everything to use os singletons 2008-04-02 18:25:33 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov adb1dd14d0 Rename tuples vocab to classes.tuple for consistency 2008-03-29 03:34:48 -05:00
Slava Pestov aec04edbda Phasing out get-slots and cleaning up some code 2008-03-29 00:59:05 -05:00
Slava Pestov 1f3e6fd0b7 combinators.cleave is now core 2008-03-28 23:00:20 -05:00
Slava Pestov 02727576c2 New slots are now in the core 2008-03-20 15:30:59 -05:00
Doug Coleman 55a8c991ad fix gmt-offset on windows 2008-03-18 18:59:37 -05:00
Slava Pestov 0d9947198c Bootstrap fixes 2008-03-19 21:41:39 -05:00
Doug Coleman f5e678c380 work on gmt-offset on windows 2008-03-19 19:37:04 -05:00
Doug Coleman 3e7940216e swap append to swap append
refactoring path+ to append-path
swap path+ to prepend-path
calendar gmt-offset to duration
2008-03-19 19:15:32 -05:00
Slava Pestov 26df05b912 More unit test fixes 2008-03-08 04:27:19 -06:00
Doug Coleman b3fcd179a0 refactor conversions 2008-03-05 22:07:45 -06:00
Doug Coleman 2c3b23286f add timestamp>ymdhms and related code 2008-03-05 16:21:02 -06:00
Doug Coleman 82ed128f47 make unknown elements f instead of 0
add hours:minutes:seconds
2008-03-05 16:10:29 -06:00
Doug Coleman 914456f315 year month day > timestamp
year month day hour minute second > timestamp
2008-03-05 16:07:25 -06:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Eduardo Cavazos 29ef996639 Move time related items from unix to unix.time 2008-03-01 07:11:44 -06:00