Slava Pestov
9488e78532
clean up contents and lines words; contents never outputs f now
2009-05-10 16:39:51 -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
7aa65b5b5f
Fixing new method dispatch implementation
2009-04-25 19:41:27 -05:00
Slava Pestov
65b27354ad
Merge branch 'master' into smarter_error_list
2009-04-14 15:07:22 -05:00
Slava Pestov
30a44225cd
Fix code for floats syntax change
2009-04-14 15:04:58 -05:00
Slava Pestov
73a2e81953
Print unit test failures better
2009-04-13 14:40:55 -05:00
Slava Pestov
bc6dfeea17
Move assert-sequence= from mime.multipart to sequences
2009-04-09 04:49:54 -05:00
Slava Pestov
fb246e2c85
Documentation fixes
2009-04-06 04:15:58 -05:00
Slava Pestov
99b8400e56
Documentation updates
2009-04-06 03:00:46 -05:00
Slava Pestov
d707292d84
Fix documentation for map-index
2009-04-04 20:22:49 -05:00
Slava Pestov
c0154c1391
Change (:) to parse effect immediately, and remove ( parsing word
2009-03-21 03:17:35 -05:00
Slava Pestov
a6b57c495f
Fix check-slice
2009-03-12 20:37:26 -05:00
Daniel Ehrenberg
5027d02b12
Stack shuffling cleanup in sequences
2009-03-11 00:10:27 -05:00
Slava Pestov
7b9491066c
Fix conflict in images vocab
2009-03-04 21:43:56 -06:00
Slava Pestov
abdf153374
Add utf8-index> and >utf8-index words for dealing with broken C APIs
2009-03-04 20:43:04 -06:00
Daniel Ehrenberg
5dc614c9c9
Adding map-find to core
2009-03-03 12:22:47 -06:00
Slava Pestov
25a877e50b
Merge OneEyed's patch
2009-02-28 17:06:55 -06:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Samuel Tardieu
087d931c36
Remove the tail argument from do/until/while
2009-02-18 02:41:14 +01:00
Slava Pestov
421ee726b8
Merge branch 'master' into new_ui
2009-02-16 21:22:12 -06:00
Slava Pestov
6a89e4ee3b
Updating sequence and hashtable documentation to point more clearly at the relevant generic operations defined on these types
2009-02-16 21:06:28 -06:00
Slava Pestov
1bbabcd5e1
Remove some usages of slip combinators from the core
2009-02-05 03:29:59 -06:00
Slava Pestov
dfa0931db1
Merge branch 'master' into new_ui
2009-02-04 05:26:32 -06:00
Slava Pestov
f8d80faed3
Add 1sequence word. Add unit tests for existing 1vector and 1byte-array words, and make them use 1sequence
2009-02-04 05:13:12 -06:00
Slava Pestov
f5c7beb75a
Clean up trim-{head,tail}{,-slice} combinators
2009-02-04 00:51:00 -06: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
833b805f5c
infimum, supremum: use map-reduce
2009-02-02 03:33:40 -06:00
Slava Pestov
4513417657
Clean up some messy stack shuffling
2009-02-01 19:14:43 -06:00
Slava Pestov
0a0431e6ab
Fix conflict
2009-01-30 02:24:34 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Slava Pestov
478ef76801
Documents no longer mutatte their model's value
2009-01-29 03:04:23 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Slava Pestov
1c6df27d3c
Minor documentation fixes
2009-01-21 00:45:23 -06:00
Doug Coleman
66f5694462
document more core/ words
2009-01-17 22:15:57 -06:00
Slava Pestov
94292d1791
Move monotonic? unit tests to grouping
2009-01-15 15:37:30 -06:00
Slava Pestov
1f0c01183e
Re-implement monotonic? without using rot
2009-01-15 15:24:46 -06:00
Doug Coleman
f4cffe8a1b
move iota to sequences, fix example, add unit tests, make iota's slot integers only
2009-01-10 13:05:25 -06:00
Slava Pestov
6959f445c4
Merge branch 'master' of git://factorcode.org/git/factor
2009-01-09 22:26:49 -06:00
Slava Pestov
a977691d82
Add iota virtual sequence which will eventually replace integers-as-sequences
2009-01-09 21:35:49 -06:00
Doug Coleman
5ae9c7fe2f
document 3each, 3map, 3map-as
2009-01-09 20:35:01 -06:00
Slava Pestov
af49278d3f
Add 2tri* and 2tri@ combinators, clean up (3each), and fix failing unit test for 3map
2009-01-05 18:12:34 -06:00
Slava Pestov
7b110b0bfd
Move 3each, 3map from compiler.utilities to sequences
2009-01-05 17:32:08 -06:00
Samuel Tardieu
0182a3430d
Allow sigma and friends to use the stack
...
"sigma" used to use the stack to remember the current total.
This prevented the use of quotations manipulating elements
that were expecting to be on the stack.
This patch hides the counter while executing the quotation,
so that the latter can fully use the stack.
2008-12-27 21:39:32 +01:00
Slava Pestov
63fda570bf
Fixing assorted compile errors and help lint warnings
2008-12-16 01:12:36 -06:00
Slava Pestov
400b2a0ccb
Add declaration to from-end
2008-12-15 21:34:25 -06:00
Slava Pestov
de3a4f5462
Change some dup ... swap to bi and keep
2008-12-15 21:20:32 -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
e6145c71c0
Change a -rot usage to 2dip
2008-12-10 17:26:54 -06:00
Slava Pestov
2a3db4cd23
Minor optimization to flip
2008-12-09 21:50:31 -06:00
Slava Pestov
ec23584f48
Finish up O(1) byte array allocation
2008-12-09 18:17:04 -06:00