Slava Pestov
07cb959df4
Clean up ?at
2009-03-09 17:47:50 -05:00
Daniel Ehrenberg
e1806663d2
Merge branch 'master' into regexp
2009-03-05 16:44:35 -06:00
Daniel Ehrenberg
e54727f9bf
Merge branch 'master' of git://factorcode.org/git/factor into regexp
2009-02-23 13:10:54 -06:00
Slava Pestov
91d0c4ed1f
Fix conflict
2009-02-22 20:02:13 -06:00
Doug Coleman
ff44ef224d
add ?at, tests, documentation
2009-02-22 17:13:18 -06:00
Daniel Ehrenberg
478c1d2928
Assocs stack effect fix
2009-02-19 16:50:55 -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
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
2ed993ef58
Clean up assocs to not use swapd
2009-01-27 04:12:16 -06:00
Slava Pestov
c41161277d
Add assoc-partition combinator, and re-implement assoc-filter in a more straightforward fashion
2009-01-26 23:19:49 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Slava Pestov
4b4d93dddd
Move at-default from unicode.case to assocs, move 2cache from classes.algebra to assocs, clean up some code to no longer use -rot, rot, pick
2009-01-20 15:27:14 -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
a90118da5d
Add inc-at word to core, and update some usages of at+ to use it instead
2008-12-09 16:54:48 -06:00
Slava Pestov
0290be6e93
Exploit the fast-path for allocation of array with initial element 0 by changing
...
new-sequence on arrays, the vector constructor, and resize-array, called when
growing vectors, to fill arrays with 0 instead of f. user code never observes the
initial value in these situations anyway. small speedup on bootstrap
2008-12-06 18:37:28 -06:00
Slava Pestov
52c5b53e27
Refactoring usages of >r, r>, -rot, rot
2008-11-30 22:21:37 -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
2fe561ffca
Add assoc-filter-as
2008-11-23 01:01:15 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Doug Coleman
853da3a116
document all assoc words
2008-09-05 15:52:13 -05:00
Slava Pestov
0c304b8fc6
Removing old accessor usages from core and basis
2008-08-31 07:45:33 -05:00
Slava Pestov
f5fbd94a4c
New compiled crossref implementation
2008-08-31 01:34:00 -05:00
Slava Pestov
85cdb1b767
Working on new compiled usage strategy; old one was wrong
2008-08-30 00:05:27 -05:00
Slava Pestov
4c4c47de77
Add an unzip word
2008-07-20 01:12:15 -05:00
Slava Pestov
ac2bf0b87d
Adding inline recursive declarations
2008-07-18 19:22:59 -05:00
Slava Pestov
0770d50d7b
Bi-assocs: fast at and value-at
2008-07-12 18:52:31 -05:00
Slava Pestov
229ad78907
Slight cleanup
2008-06-15 00:32:48 -05:00
Slava Pestov
375020b7fe
Add push-at to core
2008-06-13 02:09:16 -05:00
Slava Pestov
c95851e34f
Bug fixes and cleanups
2008-06-11 02:58:38 -05:00
Slava Pestov
29fa4a8a54
assoc-find is no longer generic
2008-06-09 05:22:21 -05:00
Slava Pestov
3ee56c3a68
Add extract-keys word
2008-05-22 22:41:48 -05:00
Slava Pestov
1bd8b19ff5
Rename subassoc? to assoc-subset?, add subset? word for sequences
2008-05-01 20:01:57 -05:00
Doug Coleman
e264537a1a
reverse the arguments of diff, assoc-diff
...
fix lots of usings
fix help-lint
2008-04-26 02:01:06 -05:00
Doug Coleman
15402ed1b4
core 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:12:44 -05:00
Doug Coleman
2edd0fefc9
new -> new-sequence
...
construct-empty -> new
construct-boa -> boa
diff -> assoc-diff
union -> assoc-union
intersect -> assoc-intersect
2008-04-13 22:58:07 -05:00
Slava Pestov
4c08b7dc81
Add zip word, better code-room primitive
2008-04-07 20:19:49 -05:00
Slava Pestov
7a596ce004
Debugging inheritancE
2008-04-02 02:44:10 -05:00
Slava Pestov
c22af5c7a6
Rename 2apply to bi@
2008-03-29 20:36:58 -05:00
Slava Pestov
e1ad21a439
Working on shapes
2008-03-26 03:57:48 -05:00
Slava Pestov
c4ac180c5a
Rename substitute to substitute-here, change stack effect, update some libraries to use it
2008-02-15 19:23:38 -06:00
Slava Pestov
a09e216582
Replace memory>string and string>memory with four primitives and update io.windows.nt.monitor
2008-01-26 23:38:30 -04:00
Slava Pestov
62ded50c8b
Directory change notification work in progress. Only on Windows right now, blocking
2008-01-26 03:40:09 -04:00
Doug Coleman
669104c2e6
fix ordering
2008-01-13 10:02:02 -10:00
Doug Coleman
376644794c
more lint cleanups
2008-01-13 08:29:04 -10:00
Doug Coleman
84891e2591
pick pick -> 2over
...
minor cleanups
2008-01-11 12:02:44 -10:00
Slava Pestov
c8360f5ae5
Rename curry* to with
2008-01-09 17:36:30 -05:00
Slava Pestov
3c95a5a3ea
Fix map>assoc where the input is a specialized array
2007-12-03 19:29:16 -05:00
Slava Pestov
fa126b0b72
Makefile update
2007-10-29 01:46:34 -04:00
Slava Pestov
a96457cecc
Initial import
2007-09-20 18:09:08 -04:00