John Benediktsson
32584c5335
sorting: simplify l-next, r-next.
2018-01-22 11:45:54 -08:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
John Benediktsson
35ca557ce7
core: use $sequence help-markup in a few places.
2016-03-16 10:13:56 -07:00
Doug Coleman
00338f62f3
factor: put inline on same line as ; for experimentation
2015-08-10 12:55:27 -05: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
John Benediktsson
e7bb1a43df
sorting: faster sort-keys and sort-values for hashtables.
2014-12-05 10:50:22 -08:00
John Benediktsson
7023cff14b
sorting: inline check-bounds.
2014-12-05 09:49:55 -08:00
John Benediktsson
73d65aacb3
core: update some help $value types.
2014-05-23 14:24:04 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
John Benediktsson
d732a5f208
sorting: simpler check-bounds.
2014-02-17 17:50:08 -08:00
Doug Coleman
1d8f1343e0
sorting: Rename merge tuple to merge-state.
2013-03-23 21:56:56 -07:00
Doug Coleman
39eb4b06ec
iota: iota vs iota-tuple. Sorry...for the tools to work!
2013-03-23 16:36:22 -07:00
John Benediktsson
dd5b02e252
sorting: move push-unsafe and push-all-unsafe to growable.private.
2013-03-23 14:16:44 -07:00
John Benediktsson
c1cfb50728
sorting: speed up sort-keys and sort-values by doing less bounds checking.
2013-03-20 17:06:51 -07:00
John Benediktsson
5487480126
core: cleanup USING lists.
2013-03-05 10:34:47 -08:00
John Benediktsson
3c9fdcff1a
sorting: 6% performance improvement using -unsafe words.
2012-09-14 09:03:55 -07:00
John Benediktsson
a916bebcfe
Fixing docs for recent stack effects additions.
2011-09-24 22:08:54 -07:00
John Benediktsson
3c1356bf69
Adding stack effects.
2011-09-23 17:46:40 -07:00
John Benediktsson
9efa64831f
sorting: change sort-keys and sort-values to generics.
2011-04-07 08:57:26 -07:00
Doug Coleman
4c71d71907
random is generic now -- iota random -> random
2010-01-14 12:48:57 -06:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Keith Lazuka
bea4aa7662
docs: updated some docs to use new markup
2009-09-22 15:22:34 -04:00
Joe Groff
7c5ef08aab
[ [ ... ] compare ] sort => [ ... ] sort-with
2009-08-02 20:09:23 -05:00
Joe Groff
cdf964579d
sorting: sort-with and inv-sort-with combinators to simplify common [ [ ... ] compare ] sort idiom
2009-08-02 20:01:54 -05:00
Slava Pestov
b31fe9b8f2
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
2009-05-14 22:31:29 -05:00
Doug Coleman
0ad6d1fb7b
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00
Slava Pestov
25a877e50b
Merge OneEyed's patch
2009-02-28 17:06:55 -06:00
Samuel Tardieu
087d931c36
Remove the tail argument from do/until/while
2009-02-18 02:41:14 +01:00
Slava Pestov
669548e62e
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
2009-02-02 13:43:54 -06:00
Slava Pestov
ca2f01e0d0
Updating non-core libraries for monotonic? change
2009-01-16 17:02:54 -06:00
Doug Coleman
f3c7a87065
clarify how sort works
2009-01-09 19:12:49 -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
Slava Pestov
a4d9cdfeb3
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
...
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov
9bf63b1613
New $quotation markup element
2008-11-16 09:03:30 -06:00
Slava Pestov
ff95802c46
Change tags a bit
2008-11-14 20:17:27 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
5792783760
Fix dodgy method overloading
2008-08-31 05:19:16 -05:00
Slava Pestov
8b855b2445
Help lint fixes
2008-08-22 23:00:35 -05:00
Slava Pestov
95657e5742
Remove some funny retain stack usage
2008-08-18 20:13:24 -05:00
Slava Pestov
ed4a212621
Fix typo in docs
2008-07-27 02:32:20 -05:00
Slava Pestov
ac2bf0b87d
Adding inline recursive declarations
2008-07-18 19:22:59 -05:00
Slava Pestov
90b68c062d
Make it into a stable sort
2008-07-15 23:37:09 -05:00
Slava Pestov
696a80367f
Ricing
2008-07-15 22:58:45 -05:00
Slava Pestov
2a1f6885fb
Faster mergesort conses less and no longer does slice fiddling
2008-07-15 20:48:25 -05:00
Slava Pestov
ad87a38ab8
Refactor binary search
2008-07-15 17:16:08 -05:00
Slava Pestov
b36e06d0d6
Builtinn types now use new slot accessors; tuple slot type declaration work in progress
2008-06-28 02:36:20 -05:00
Slava Pestov
045b657474
Move replicate into core; move selection sort into its own vocab; remove usages of and? and or? which are redundant now
2008-06-13 01:51:46 -05:00