Commit Graph

54 Commits (2cfa457258d93ea14a132a256fc96cf5c8d95c92)

Author SHA1 Message Date
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -08:00
Doug Coleman 27b3c4cccf functors: FUNCTOR: ;FUNCTOR -> <FUNCTOR: ;FUNCTOR>
Functors contain nested definitions, much like <PRIVATE PRIVATE> blocks.
A new parser will be able to parse nested definitions unambigiously without
knowledge of the definition of <FUNCTOR: itself, which is not the case if
it looks like FUNCTOR: instead.
2017-08-05 20:41:19 -05:00
John Benediktsson 46d4b33349 sorting.slots: make sort-keys-by and sort-values-by support hashtables. 2017-07-05 16:46:06 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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
Björn Lindqvist 60ffe0680e kernel: new combinator 2with = with with 2014-07-22 07:40:13 -07:00
John Benediktsson 63b5886337 sorting.insertion: faster due to fewer nths. 2014-04-27 22:41:37 -07:00
John Benediktsson 00bd0c52e7 sorting.insertion: skip the zero'th element. 2014-04-27 17:13:26 -07:00
John Benediktsson 327a40d4bf sorting.insertion: faster with unsafe words. 2013-10-14 15:28:05 -07:00
Doug Coleman 2fc44d7027 hybrid -> alphanum in stack effects 2011-10-02 11:59:38 -07:00
John Benediktsson aa4e65ef6f sorting.human: rename <hybrid> to <alphanum>. Fixes . 2011-10-02 09:24:51 -07:00
John Benediktsson 3c1356bf69 Adding stack effects. 2011-09-23 17:46:40 -07:00
Doug Coleman 7d1fa695c2 Fix sorting.human docs 2010-09-21 11:17:39 -05:00
Doug Coleman 7c161e274c Use proper unicode collation for sorting strings, and make the w/collation-key public 2010-09-21 00:03:03 -05:00
Doug Coleman 8bc3c09050 Human sort is unusable with pegs (too slow). Make a case-insensitive version humani<=> 2010-09-20 23:44:12 -05:00
Joe Groff 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Doug Coleman 2cd10e7166 Don't rely on integers as sequences for unit tests 2010-01-15 07:15:36 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman f998a81a43 trivial factoring 2009-08-17 18:59:03 -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 1bc39df838 fix using, make sure article-only title sort works 2009-05-26 12:01:28 -05:00
Doug Coleman 0d45dafdd0 fix formatting 2009-05-26 11:55:48 -05:00
Doug Coleman daf1594390 fix human sort -- wrap all elements so that integers dont get compared against strings directly 2009-05-26 10:05:55 -05:00
Slava Pestov 2979360d48 sorting.slots: help lint 2009-04-18 19:52:12 -05:00
Slava Pestov 0ca924124a Rewrite sorting.slots 2009-04-18 16:44:24 -05:00
Doug Coleman c1d1fe9b20 minor fixes in sorting 2009-04-18 13:44:20 -05:00
Doug Coleman 7e5ab38ed1 use unclip-last-slice 2009-04-18 02:04:58 -05:00
Doug Coleman 9503efa9a8 working on sorting.slots 2009-04-18 01:38:39 -05:00
Doug Coleman 549ddcd2df make some words not macros 2009-04-17 21:24:36 -05:00
Doug Coleman 5fd9f446e7 use more macros in sorting, fix test 2009-04-04 15:45:56 -05:00
Doug Coleman 6f2c4fc02a slim down the sorting.functor using more combinators 2009-04-04 00:02:15 -05:00
Doug Coleman c97ca399d8 refactor a bit, document sort-by 2009-04-03 19:49:49 -05:00
Doug Coleman 8fdb3bb27a define a sort-by to take a sequence of comparators without slots 2009-04-03 19:43:10 -05:00
Doug Coleman 73a2fa49c5 add title sort for use with joe's mp3 player 2009-04-03 18:19:45 -05:00
Doug Coleman 2e1652db6d simplify sorting.slots a bit 2009-04-03 17:38:21 -05:00
Doug Coleman ce73c17c1d add sorting.functor 2009-04-03 17:28:55 -05:00
Doug Coleman 32954b75ad use functors to define human-sort 2009-04-03 17:28:31 -05:00
Doug Coleman 82b6e32945 fix a few compile errors 2009-03-29 21:35:57 -05:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 298fdecf32 Fixing eval unit test, and help lint failures from stricter help lint 2009-01-27 15:38:01 -06:00
Doug Coleman c2df6db543 rename human-<=> to human<=>, same for human>=< 2009-01-25 23:32:02 -07:00
Doug Coleman f920007959 extend sort-by-slots to work with nested objects, add split-by-slots for already-sorted sequences of tuples 2009-01-13 00:20:34 -06:00
Doug Coleman d9d349993a Sorting by sequences of accessor/comparator pairs 2009-01-08 16:38:44 -06:00
Doug Coleman 6414426373 Add docs for sorting.human, add human>=< 2009-01-08 16:32:26 -06:00
Doug Coleman 6d6e691083 Make human-sort behave like sort 2009-01-07 15:58:33 -06:00