Doug Coleman
29d5278569
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-06 19:01:35 -06:00
Doug Coleman
37b9a350cc
swap ... 3append -> surround in core
2008-12-06 18:42:41 -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
bac338663d
Mark a word inline
2008-12-06 15:31:35 -06:00
Slava Pestov
8a8f0c925c
Use BSR instruction to implement fixnum-log2 intrinsic
2008-12-06 15:31:17 -06:00
Slava Pestov
145b635eb6
More optimization intended to reduce compile time. Another 10% speedup on compiling empty PEG parser
...
- new map-flat combinator replaces usages of 'map flatten' in compiler
- compiler.tree.def-use.simplified uses an explicit accumulator instead of flatten
- compiler.tree.tuple-unboxing uses an explicit accumulator instead of flatten
- fix inlining regression from last time: custom inlining results would sometimes be discarded
- compiler.tree's 3each and 3map combinators rewritten to not use flip
- rewrite math.partial-dispatch without locals (purely stylistic, no performance increase)
- hand-optimize flip for common arrays-of-arrays case
- don't run escape analysis and tuple unboxing if there are no allocations in the IR
2008-12-06 11:17:19 -06:00
Slava Pestov
a56d480aa6
Various optimizations leading to a 10% speedup on compiling empty EBNF parser:
...
- open-code getenv primitive
- inline tuple predicates in finalization
- faster partial dispatch
- faster built-in type predicates
- faster tuple predicates
- faster lo-tag dispatch
- compile V{ } clone and H{ } clone more efficiently
- add fixnum fast-path to =; avoid indirect branch if two fixnums not eq
- faster >alist on hashtables
2008-12-06 09:16:29 -06:00
Doug Coleman
2e31f7d792
fix help-lint errors
2008-12-05 12:57:36 -06:00
Doug Coleman
3293dde7a2
remove unit test
2008-12-05 12:53:23 -06:00
Slava Pestov
aa838dbc2d
Fix compile errors
2008-12-05 09:04:16 -06:00
Slava Pestov
8db24bdd34
assert-depth now has a static stack effect. This fixes a UI unit test failure
2008-12-05 08:25:26 -06:00
Slava Pestov
908644ee7a
O(1) <sbuf> and new-sequence on byte-arrays (work in progress)
2008-12-05 07:28:52 -06:00
Slava Pestov
e256846acd
Tweak string representation; high bit indicates if character has high bits in aux vector. Avoids memory access in common case. Split set-string-nth into two primitives; set-string-nth-fast is open-coded by optimizing compiler. 13% improvement on reverse-complement
2008-12-05 06:38:51 -06:00
Slava Pestov
252b1eb513
Faster conversion of sbufs, vectors and byte-vectors to their corresponding fixed-size type respectively; we call the resize-T primitive on the underlying sequence instead of >T
2008-12-05 06:37:19 -06:00
Slava Pestov
fa146b248a
Remove obsolete info; 1+ and 1- are identical to 1 + and 1 - in reality
2008-12-05 02:11:50 -06:00
Slava Pestov
e304d3c9f8
Local DCE
2008-12-04 06:02:49 -06:00
Slava Pestov
993d8de372
Merge branch 'master' of git://projects.elasticdog.com/git/factor
2008-12-04 00:28:29 -06:00
Slava Pestov
1247ebbac9
Fix typo
2008-12-04 00:28:16 -06:00
Aaron Schaefer
13781ee48c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 00:42:34 -05:00
Aaron Schaefer
ca73c06194
Fix documentation example for floats
2008-12-04 00:36:11 -05:00
Doug Coleman
0e14f767ee
core: swap 3append -> glue
2008-12-03 19:12:48 -06:00
Aaron Schaefer
e6b585c376
Fix example in spread combinator article
2008-12-03 13:26:31 -05:00
Doug Coleman
06388da30d
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 10:03:37 -06:00
Slava Pestov
8e69362512
Better error message for INSTANCE: if second arg is not a mixin
2008-12-03 09:33:32 -06:00
Doug Coleman
c4a06d4a60
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 08:34:59 -06:00
Doug Coleman
fd270d8ef2
add surround and glue to sequences
2008-12-03 08:32:54 -06:00
Doug Coleman
a329960d7e
move retry word to continuations
2008-12-03 08:32:12 -06:00
Slava Pestov
c49cbe5d9c
Fix typo in the docs
2008-12-03 04:07:36 -06:00
Slava Pestov
0ba5304ee3
Fix assocs, generic.standard tests
2008-12-03 03:44:08 -06:00
Slava Pestov
350e697615
Merge branch 'master' into specialized-arrays
2008-12-02 20:07:14 -06:00
Slava Pestov
2b23e3c4d8
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 19:43:11 -06:00
Slava Pestov
5a57fe8953
with-stream was disposing streams in the wrong order
2008-12-02 19:43:07 -06:00
sheeple
1777dde283
add file-systems unit test
2008-12-02 16:03:01 -06:00
Slava Pestov
e559a101e8
Merge branch 'master' into specialized-arrays
2008-12-02 02:46:26 -06:00
Slava Pestov
c27faa3de4
Remove 3compose: nothing in core used it, and basis code can use fry
2008-12-02 00:25:23 -06:00
Slava Pestov
722989d895
Merge branch 'master' of git://factorcode.org/git/factor into specialized-arrays
2008-12-01 21:55:32 -06:00
Doug Coleman
7553b816f8
add another slot to file-system-info -- available-space, which is what the user can actually use, not what's free on disk
2008-12-01 21:20:33 -06:00
Slava Pestov
f51708386d
Fix conflicts
2008-12-01 20:39:43 -06:00
Slava Pestov
9e4dfda8cd
Fix help lint
2008-12-01 18:08:48 -06:00
Slava Pestov
87656b19e3
FACTOR_ROOTS env var
2008-12-01 17:19:47 -06:00
Slava Pestov
973e3faa00
Documentation updates
2008-12-01 17:00:35 -06:00
Slava Pestov
1a3f148c2c
Add each-line combinator
2008-12-01 16:43:18 -06:00
Slava Pestov
a558f91d5d
Better command-line processing
2008-12-01 16:10:48 -06:00
Slava Pestov
52c5b53e27
Refactoring usages of >r, r>, -rot, rot
2008-11-30 22:21:37 -06:00
Doug Coleman
2eb185865e
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-30 17:18:34 -06:00
Doug Coleman
e7fbc0c9f2
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-30 15:28:26 -06:00
Doug Coleman
bc7739ec1d
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-30 14:38:29 -06:00
Doug Coleman
28e6d7d116
add more shared slots fo file-system-info
2008-12-01 14:05:46 -06:00
Slava Pestov
b8fff571b4
More robust amended-use behavior
2008-11-29 15:21:40 -06:00
Slava Pestov
267ab0aa4d
Implement /i on floats
2008-11-29 12:21:26 -06:00
Slava Pestov
f675223873
Minor optimization in unclip-slice
2008-11-29 10:38:43 -06:00
Slava Pestov
e8a69a3aea
Fix conflict
2008-11-29 05:14:49 -06:00
Doug Coleman
bc60af6187
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-29 00:45:43 -06:00
Slava Pestov
c43690a8fb
Didn't pass help lint because of obsolete example
2008-11-29 00:37:46 -06:00
Doug Coleman
9d03a591cf
trivial doc for error-stream
2008-11-29 00:35:50 -06:00
Doug Coleman
8c7a3c8a81
better docs for io.encodings
2008-11-29 00:30:36 -06:00
Eduardo Cavazos
cb815a965b
kernel-docs: Fix '2dip' docs
2008-11-28 12:33:42 -06:00
Slava Pestov
92cc760070
Fixes
2008-11-28 01:11:03 -06:00
Slava Pestov
94ec0c9d1f
Oops
2008-11-28 01:08:33 -06:00
Slava Pestov
817510cdb9
Another attempt at size reduction
2008-11-28 01:08:16 -06:00
Slava Pestov
c8f227ccf7
Tweak standard-next-method-quot to produce smaller quotations
2008-11-28 00:56:54 -06:00
Slava Pestov
6dfce7d4e7
load-locals is a primitive now, change semantics of get-locals to bum out 2 instructions from the sub-primitive
2008-11-27 22:30:29 -06:00
Slava Pestov
51a2aa6037
Tweak case>quot so that it works with lambdas
2008-11-25 23:04:13 -06:00
Slava Pestov
d3a40ff438
Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor into faster_overflow_checks
2008-11-28 21:05:31 -06:00
Slava Pestov
eb8c621b6f
Faster generic arithmetic on fiixnums: both-fixnums? sub-primitive performs a check if the top two stack items are both fixnums with a single conditional branch
2008-11-28 08:35:02 -06:00
Slava Pestov
b19e87ea75
Fix corner case where auto-use didn't print using list
2008-11-24 16:28:35 -06:00
slava
fbc0f33c86
The deploy tool would coalesce equal quotations into one. This created a problem
...
for the non-optimizing compiler because if the new 'leader' quotation was not
compiled but some of the ones that it replaces were, then calls to the quotation
from contexts where they have to be compiled (eg, compiled if and dip) would no
longer work. Add a `jit-compile' primitive to compile quotations, and call it
as appropriate in `compress-quotations`.
2008-11-24 15:59:27 -06:00
Slava Pestov
8678ff091f
Fix docs for spread and apply combinators
2008-11-24 12:01:20 -06:00
Slava Pestov
fb511f4fe8
Fix help lint
2008-11-24 00:51:46 -06:00
Slava Pestov
1d6e389d18
Fixing walker, adding traceback tests
2008-11-23 21:40:54 -06:00
Slava Pestov
f520823d5c
Minor speedup
2008-11-23 04:22:38 -06:00
Slava Pestov
7788b3e0db
Merge branch 'master' into microseconds
2008-11-23 03:06:32 -06:00
Slava Pestov
6466ebaed7
Add comment explaining what's going on
2008-11-23 02:46:43 -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
2a0c92eb89
Use assoc-filter-as
2008-11-23 01:01:21 -06:00
Slava Pestov
2fe561ffca
Add assoc-filter-as
2008-11-23 01:01:15 -06:00
Slava Pestov
dd6f9bced5
Rename (append) to append-as, (3append) to 3append-as, take them out of private
2008-11-23 01:01:04 -06:00
Slava Pestov
51787c2022
Add some error checking to CHAR:
2008-11-23 00:25:01 -06:00
Slava Pestov
c2c07f8b22
Fix bootstrap
2008-11-23 00:24:36 -06:00
Slava Pestov
7c61cf190f
Circularity between vocabularies no longer causes an infinite loop; loading a vocabulary like json or furnace no longer loads certain files twice
2008-11-23 00:04:18 -06:00
Slava Pestov
d42affbc76
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-22 22:50:26 -06:00
Slava Pestov
f0716b3a0d
1% image size reduction by not storing empty compiled-generic-uses and compiled-uses props
2008-11-22 22:46:57 -06:00
Doug Coleman
75c32bde5a
cleaner unit-tests
2008-11-22 20:34:25 -06:00
Doug Coleman
35b7b74b97
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-22 20:31:32 -06:00
Doug Coleman
374ad0752e
add using
2008-11-22 20:31:23 -06:00
Doug Coleman
3a8f1b4966
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-22 20:02:52 -06:00
Doug Coleman
fb8bdfe7e5
rename last-slice1 to slice1-last
2008-11-22 20:00:37 -06:00
Doug Coleman
26cb48b0ab
rename last-slice1 to slice1-last. add slice1-slice and slice1-last-slice, docs, and tests
2008-11-22 19:59:43 -06:00
Slava Pestov
3e7afcac29
(call-next-method) now takes a method instead of a class and a generic
2008-11-22 19:57:25 -06:00
Slava Pestov
9628bcd646
New 'expect' word, which is a more correct version of the 'scan assert=' idiom
2008-11-22 17:27:40 -06:00
U-SLAVA-DFB8FF805\Slava
82a83496f3
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-22 02:47:00 -06:00
U-SLAVA-DFB8FF805\Slava
21856550e3
show doesn't need to print \r\n
2008-11-22 02:44:35 -06:00
Slava Pestov
d504d6b8de
slice-errors now report the parameters to the slicing operation
2008-11-21 21:00:30 -06:00
Slava Pestov
420ff0a447
Fry now throws a parse time error if it detects >r r> usage, tweak fry to better interact with locals
2008-11-21 05:17:51 -06:00
Slava Pestov
3e29a31493
Residual fixes for curry/compose change
2008-11-21 05:17:20 -06:00
Slava Pestov
89440b2a23
curry and compose now check their inputs
2008-11-21 04:37:17 -06:00
Slava Pestov
af29312a9e
Fix parser tests
2008-11-21 02:25:43 -06:00
Slava Pestov
ae4f9a2809
Add fixnum/mod-fast and fixnum/i-fast subprimitives
2008-11-21 02:11:36 -06:00
Slava Pestov
1addde1567
If 'search' was called outside of the parser, note. might be called, which would fail if no lexer was set
2008-11-21 00:18:25 -06:00
Slava Pestov
2e2856b9a4
Document auto-use? feature
2008-11-20 21:54:38 -06:00
Slava Pestov
98d109a9a8
Rename do-what-i-mean? to auto-use?
2008-11-20 20:35:01 -06:00
Slava Pestov
3d8f432856
Clarify math.bitwise -vs- bitwise-arithmetic docs
2008-11-19 19:23:11 -06:00
Slava Pestov
eb6cdcc06e
Fix parser tests
2008-11-19 17:41:39 -06:00
Slava Pestov
57c933f98a
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-19 16:28:51 -06:00
Slava Pestov
002563ce44
Add DWIM mode
2008-11-19 16:27:16 -06:00
Doug Coleman
199bdfdbe6
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-19 16:24:23 -06:00
Doug Coleman
25d9fd68fc
translate directory-type flags to our factor symbols
2008-11-19 16:22:42 -06:00
Slava Pestov
6085557116
Parser now prints an IN:/USING: form if restarts were invoked; add more restarts for certain errors
2008-11-19 16:03:05 -06:00
Slava Pestov
8819f23312
Replace millis primitive with micros primitive
...
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov
281657dd82
Fix conflict
2008-11-18 22:18:14 -06:00
Slava Pestov
d62a6c4b09
Minor core cleanup
2008-11-18 22:08:02 -06:00
Slava Pestov
a9a28a3231
Trying to blindly fix Win64 unit tests
2008-11-17 20:28:52 -06:00
Slava Pestov
f29300c6ba
Better error message when vocab top level forms leave crap on the stack
2008-11-16 19:47:52 -06:00
Slava Pestov
251f9213c3
Fix typo
2008-11-16 19:19:53 -06:00
Slava Pestov
fbe29ceca8
format-table should not be private since ui.gadgets.grids uses it
2008-11-16 15:31:17 -06:00
Slava Pestov
e6218fdc71
Move words from compiler.errors.private to compiler.errors
2008-11-16 13:46:21 -06:00
Slava Pestov
acc1dc23fa
More usages of $quotation
2008-11-16 09:08:38 -06:00
Slava Pestov
9bf63b1613
New $quotation markup element
2008-11-16 09:03:30 -06:00
Slava Pestov
93e9e34175
Add $maybe markup element
2008-11-16 06:02:13 -06:00
Slava Pestov
99fd539b01
Rename io.streams.string:null to null-encoding
2008-11-16 05:59:38 -06:00
Slava Pestov
2fe364a7bb
Specialized arrays work in progress
2008-11-14 20:18:16 -06:00
Slava Pestov
ff95802c46
Change tags a bit
2008-11-14 20:17:27 -06:00
Slava Pestov
dffbb120a3
SLOT: now defines the accessor words instead of just deferring them
2008-11-14 00:39:28 -06:00
Slava Pestov
4858a2ea74
Simplify inline? now that generic words can't be inline anymore
2008-11-13 09:33:18 -06:00
Slava Pestov
ef6206d4bb
Try to optimize generic dispatch to speed up + on fixnums, nth on arrays for example
2008-11-13 03:51:04 -06:00
Slava Pestov
9f52ee50b0
Another speedup to >alist: create vector with right size up-front. 10 second bootstrap time reduction
2008-11-12 00:10:50 -06:00
Slava Pestov
eed1dd3d2b
Fix byte vector prettyprinting
2008-11-11 23:38:19 -06:00
Slava Pestov
57cf756c0e
Use eq? instead of number= in a few places
2008-11-11 23:04:15 -06:00
Slava Pestov
ed3a81a503
Faster M: hashtable >alist performs less dispatch and allocates less junk
2008-11-11 23:03:50 -06:00
Doug Coleman
0edfc83d50
document file-systems
2008-11-11 15:41:27 -06:00
Doug Coleman
78ab09d8bb
move file-systems word to core
2008-11-11 14:04:05 -06:00
Slava Pestov
a32acdcff0
Tweak grouping code for better method inlining
2008-11-11 12:11:13 -06:00
Slava Pestov
1d630b6cf2
Minor documentation fixes
2008-11-11 10:51:15 -06:00
Slava Pestov
e49ee006d1
Fix loop combinator docs
2008-11-11 08:50:48 -06:00
Slava Pestov
33a082c361
Fix reference to obsolete G: word
2008-11-10 02:43:16 -06:00
Slava Pestov
57242951b9
Better error reporting in FROM: and RENAME: words
2008-11-08 19:33:15 -06:00
unknown
78eeaddcf2
Add winnt-x86.64 boot image name
2008-11-07 20:34:26 -06:00
unknown
cc7ab11881
Add more unit tests
2008-11-07 20:34:04 -06:00
Slava Pestov
63a9975a0e
Support inline, foldable, flushable on methods; add declarations in a couple of places for ricing purposes
2008-11-06 13:13:37 -06:00
Slava Pestov
d2b2cda596
Sort methods by tag, this speeds up >fixnum in the common case where the input is a fixnum
2008-11-06 10:44:06 -06:00
Slava Pestov
1c1333fbe9
Compile not and >boolean as branchless intrinsics by having the CFG builder detect certain code patterns
2008-11-06 09:09:21 -06:00
Slava Pestov
a95bb533b5
Remove more redundant branches from tuple type predicates and generic words with methods on tuple classes
2008-11-06 09:08:17 -06:00
Slava Pestov
9160e667a7
Fix tuple>array and tuple reshaping
2008-11-06 01:10:56 -06:00
Slava Pestov
bfd119e3b5
I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement
2008-11-06 00:02:44 -06:00
Slava Pestov
aac256324f
lo-tag-dispatch-engine now sorts tags, this ensures that >fixnum compiles more efficiently
2008-11-06 00:02:10 -06:00
Slava Pestov
cc879fa9b7
Tuple layouts are now arrays, instead of built-in types. The superclass
...
array is now part of the tuple layout object itself, and class hashcodes
are stored alongside class words there. This removes 2 indirections when
reading a superclass, and 3 when reading a superclass hashcode.
2008-11-05 22:20:29 -06:00
Slava Pestov
4e98751ce0
Remove a conditional branch from all tuple dispatches, since we don't have to check if the class height is at least 1; and remove memory accesses from tuple dispatch where all tuples are height 1
2008-11-05 20:23:38 -06:00
Slava Pestov
4fd1767768
Old fix for classes-intersect? no-method bug was incorrect; we were
...
ignoring anonymous classes in compiled-generic-crossref. Also,
forget* now calls reset-word so that references to predicates of
forgotten classes don't break the compiler with a similar error.
2008-11-05 18:32:02 -06:00
Slava Pestov
fb64c1cb45
Fix class<=; a predicate class derived from a union was not reported as being contained in the union
2008-11-04 04:59:54 -06:00
Slava Pestov
cc94894441
Fix notorious classes-intersect? bug, or at least one manifestation thereof. Turns out that we may temporarily end up with forgotten classes in the compiled-generic-crossref table. This is not a problem, since subsequently the words that reference forgotten classes will presumably be redefined and recompiled, but it does mean that (compiled-generic-usage) does need to handle this case
2008-11-04 03:38:44 -06:00
Slava Pestov
9b492b55e0
Fix minor leak: class-caches were not reset if a class was forgotten
2008-11-04 02:17:37 -06:00
Slava Pestov
7134fad54c
Add more unit tests highlighting the problem: predicate -vs- union comparison is broken
2008-11-04 02:17:22 -06:00
Slava Pestov
b4d3473d5e
Tuple parsing didn't handle line breaks properly; if scan returns f, must throw unexpected-eof
2008-11-03 21:01:50 -06:00
Slava Pestov
dc85ed3d56
Fix help lint: links to obsolete article
2008-11-03 08:08:28 -06:00
Slava Pestov
cdb5c30bd3
Only build a generic word once, even if a compilation unit defines several methods on it, by adding generics to a set and building them at the end. 25% improvement on bootstrap time
2008-11-03 03:51:28 -06:00
Slava Pestov
44a2499c17
fixnum-shift-fast and fixnum-mod subprimitives
2008-11-03 01:18:35 -06:00
Slava Pestov
998637109a
Merge branch 'master' into new_codegen
2008-11-02 03:10:40 -06:00
Slava Pestov
673fda2281
Fix bogus error message
2008-11-02 03:10:27 -06:00
Slava Pestov
b5c3c19ebe
Merge branch 'master' of git://factorcode.org/git/factor into new_codegen
2008-11-01 16:38:04 -05:00
Slava Pestov
7fc44aa444
Add failing tests
2008-10-31 21:07:57 -05:00
Slava Pestov
2fb17458e3
Fix duplication
2008-10-28 16:22:54 -07:00
Doug Coleman
03d96cc1bd
rename name to mount-point
2008-10-23 13:18:00 -05:00
Slava Pestov
69a0ad5e42
Ricing locals
2008-10-23 05:49:32 -05:00
Slava Pestov
1c7d9c1066
Merge branch 'master' into new_codegen
2008-10-23 05:29:09 -05:00
Slava Pestov
d922afa0a4
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-23 05:28:32 -05:00
Slava Pestov
94fa3929a8
Rice
2008-10-23 05:28:22 -05:00
Slava Pestov
95eb0f696b
Rice
2008-10-23 05:28:04 -05:00
Doug Coleman
1d750b26d2
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-21 23:44:02 -05:00
Doug Coleman
b9e043effe
move >file-system-info
2008-10-21 23:43:36 -05:00
Slava Pestov
dc74d1a9b6
Merge branch 'master' into new_codegen
2008-10-21 23:40:03 -05:00
Slava Pestov
84820244dd
Merge branch 'master' into new_codegen
2008-10-21 23:19:20 -05:00
Doug Coleman
2f3fe3c8ec
docs for file-system-info
2008-10-21 22:55:48 -05:00
Slava Pestov
4b20266235
Merge branch 'master' into new_codegen
2008-10-20 22:06:11 -05:00
Slava Pestov
325dbf3eef
Fix regression
2008-10-20 21:07:55 -05:00
Slava Pestov
0c89575632
Merge branch 'master' into new_codegen
2008-10-20 05:56:44 -05:00
Slava Pestov
ab61e5cd8c
Fix performance problem
2008-10-20 05:56:13 -05:00
Slava Pestov
af6b8c4e97
Merge branch 'master' into new_codegen
2008-10-20 01:59:52 -05:00
Slava Pestov
a4f1d4f243
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-20 01:58:24 -05:00
Slava Pestov
f721105993
Add 3dip
2008-10-20 01:58:17 -05:00
Doug Coleman
0121d0f678
add file-system-info
2008-10-20 00:30:24 -05:00
erg
bccf9d9698
add device-name and type to file-system-info
2008-10-22 20:28:30 -05:00
erg
278b55ee57
include mount point in file-system-info
2008-10-22 20:04:10 -05:00
Slava Pestov
b6ec4dc6ff
Merge branch 'master' of git://factorcode.org/git/factor into new_codegen
2008-10-19 18:10:48 -05:00
Doug Coleman
dfef28e715
make a word generic
2008-10-21 01:27:15 -05:00
Doug Coleman
a71ca7242a
fix typo in docs, fix load error
2008-10-19 13:34:00 -05:00
Doug Coleman
dfc3c2cc78
Merge branch 'master' of git://factorcode.org/git/factor
2008-10-19 13:31:21 -05:00
Doug Coleman
78a529b1c3
remove directory from the vm
2008-10-19 13:27:59 -05:00
Doug Coleman
83638c35da
change up the way you read directories
2008-10-19 12:55:48 -05:00
Slava Pestov
8734b82105
Merge branch 'master' into new_codegen
2008-10-19 03:36:58 -05:00
Slava Pestov
adb0ada7ae
Add delq, filter-here
2008-10-19 03:34:58 -05:00
Slava Pestov
b5f9d47968
Merge branch 'master' into new_codegen
2008-10-19 01:12:20 -05:00
Doug Coleman
27c36974a7
remove primitives from core, update usages
2008-10-18 21:42:01 -05:00
Doug Coleman
ab0ed9f988
redo home implementation
2008-10-18 21:24:14 -05:00
Doug Coleman
3e24ff97fe
remove os-env docs and tests from core/
2008-10-18 21:18:58 -05:00
Slava Pestov
7d6e919929
Fix conflict
2008-10-17 18:46:56 -05:00
Slava Pestov
225097a5d3
Fix some bugs in locals
2008-10-17 16:54:07 -05:00
Slava Pestov
c54668596d
More efficient hi-tag accessor
2008-10-11 13:58:41 -05:00
Slava Pestov
f1286a353f
Fix typo
2008-10-10 13:43:58 -05:00
Slava Pestov
d2dd7288b3
Fix parser bug with multi-line tuple literals
2008-10-08 23:43:37 -05:00
Doug Coleman
9459eaab4b
all platforms support the file-info structure
2008-10-06 17:28:11 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
28d3654f61
Small ricing
2008-10-02 06:47:20 -05:00
Slava Pestov
e722698b1b
os and cpu words now foldable; reduces deploy image size
2008-10-02 05:15:05 -05:00
Slava Pestov
2e48915f9c
Strip out C I/O if native I/O enabled
2008-10-02 03:38:36 -05:00
Slava Pestov
e1a2bfc048
Oops
2008-10-01 08:38:50 -05:00
Slava Pestov
34952ff5c4
Faster call-next-method
2008-10-01 08:20:49 -05:00
Slava Pestov
c3f9d2180a
Fix typo
2008-10-01 03:35:41 -05:00
Slava Pestov
8cb3c1eb5e
Literal hashtables now cross-referenced
2008-10-01 03:12:35 -05:00
Slava Pestov
21c621d464
Fix erg's ratio bug
2008-09-30 18:28:11 -05:00
Slava Pestov
e84dec38ef
Doc fixes
2008-09-29 22:39:53 -05:00
Slava Pestov
f5acf7e3d6
Rice
2008-09-27 17:54:44 -05:00
Slava Pestov
2fda7b114d
Make >integer faster
2008-09-27 11:39:14 -05:00
Slava Pestov
f91b8ead3b
Fix typo
2008-09-25 05:35:48 -05:00
Slava Pestov
78881e1368
Better error message with invalid tuple literals
2008-09-24 21:23:26 -05:00
Slava Pestov
4b19afdb4e
Fixing issues found by stricter help lint
2008-09-24 01:59:05 -05:00
Slava Pestov
9a6408623b
More doc fixes
2008-09-23 16:19:32 -05:00
Slava Pestov
79f3865f92
Add missing meta-data
2008-09-23 16:11:59 -05:00
Slava Pestov
e211260e47
Tweak unit test
2008-09-20 18:52:39 -05:00
Slava Pestov
0f284816c1
Fix docs
2008-09-19 16:37:27 -05:00
Slava Pestov
be4915ee9c
Fix save-image-and-exit bug
2008-09-19 14:44:58 -05:00
Slava Pestov
3d790d8ac8
Memory ricing to make deploy tests pass on Mac OS X/PowerPC
2008-09-19 00:26:27 -05:00
Slava Pestov
4ce3cc4141
Bug fixes
2008-09-18 22:08:12 -05:00
Slava Pestov
58914da662
I/O fixes
2008-09-18 18:20:26 -05:00
Slava Pestov
562118e158
Better fix for *BSD resource path
2008-09-18 00:20:51 -05:00
Slava Pestov
3a83c1e895
Improve resource-path behavior on NetBSD and OpenBSD
2008-09-17 22:40:51 -05:00
Slava Pestov
1a865f89ac
Some optimizer change sfores for new codegen
2008-09-17 22:18:08 -05:00
Doug Coleman
0967d85f85
document the rest of the interesting words in sequences
2008-09-17 18:38:32 -05:00
Doug Coleman
affc0b4830
move some words to private, make stack effects for slices contain explicit -slice
2008-09-17 18:37:57 -05:00
Doug Coleman
de68e712e9
more docs
2008-09-17 09:43:18 -05:00
Doug Coleman
a946d334df
add virtual sequences docs
2008-09-17 09:16:26 -05:00
Doug Coleman
4be6611a81
oops, revert B change
2008-09-17 08:03:40 -05:00
Doug Coleman
165e5b7ff8
document B
2008-09-17 00:52:50 -05:00
Doug Coleman
7ba89e29aa
add docs for gather
2008-09-17 00:49:55 -05:00
Doug Coleman
6f91454cf3
document count-instances
2008-09-17 00:35:40 -05:00
Doug Coleman
3d7ed0f122
document ?1+ for the lulz
2008-09-17 00:21:11 -05:00
Doug Coleman
fa3999b909
add some docs for loop, move article to the end
2008-09-17 00:18:42 -05:00
Doug Coleman
e3ae3afcb8
document stream-read-partial, read-partial, change stack effect
2008-09-16 23:52:04 -05:00
Doug Coleman
dff2c2808b
document ?set-at
2008-09-16 23:14:25 -05:00
Doug Coleman
819234bedd
document dispose-each
2008-09-16 22:55:26 -05:00
Doug Coleman
4fe65ae331
more continuations docs
2008-09-16 22:44:29 -05:00
Doug Coleman
af9e85550e
document remove-nth
2008-09-15 10:07:13 -05:00
Doug Coleman
50db52fb17
Merge branch 'master' of git://factorcode.org/git/factor
2008-09-14 09:45:46 -05:00
Doug Coleman
0aa4000c46
more docs
2008-09-14 09:45:26 -05:00
Slava Pestov
0e31b23964
Fix typo in example
2008-09-14 01:50:49 -05:00
Slava Pestov
7887515d00
Fix stack effects of load-source, load-docs so that stack isn't filled up with crap in stage2
2008-09-13 21:23:25 -05:00
Slava Pestov
20cc730501
Fix sequences tests
2008-09-12 18:57:34 -05:00
Slava Pestov
8d7ebc5106
Change stack effect of nths to match nth, rice bounds-check?
2008-09-12 18:08:19 -05:00
Slava Pestov
162faace98
Fix typo in 3bi docs
2008-09-12 16:04:01 -05:00
Slava Pestov
996dd6442e
Add indices word
2008-09-12 16:03:47 -05:00
Slava Pestov
fdff43ee00
Fix load problem
2008-09-12 11:32:40 -05:00
Slava Pestov
f497c7e151
Move map-reduce combinator to core, re-implement norm-sq and v. for better performance
2008-09-12 11:29:12 -05:00
Slava Pestov
91faff92de
Minor change to copy and subseq to improve type inference
2008-09-12 08:18:57 -05:00
Slava Pestov
f2721e0608
Help lint fixes
2008-09-11 05:04:49 -05:00
Slava Pestov
cc7f9e7731
Fixing make-image
2008-09-11 00:40:25 -05:00
Slava Pestov
265df0ed24
Documentation update
2008-09-11 00:24:39 -05:00
Slava Pestov
0c8e2584b4
Fixing unit tests for make, fry changes
2008-09-11 00:20:06 -05:00
Slava Pestov
63a1e604ae
make vocabulary
2008-09-10 20:07:07 -05:00
Slava Pestov
44f53de164
Move make to its own vocabulary, remove fry _ feature
2008-09-10 20:07:00 -05:00
Slava Pestov
6a1e6d3c08
Fix dispatch bug found by mnestic
2008-09-10 01:45:16 -05:00
Slava Pestov
9dfb646606
Fix conflict
2008-09-09 23:39:30 -05:00
Slava Pestov
a3bbce3956
Add a couple of onlinline inline declarations
2008-09-09 23:38:40 -05:00
Doug Coleman
e3b67a2b20
fix seq docs
2008-09-09 19:31:26 -05:00
Doug Coleman
c2219c94b4
add more docs to sequences
2008-09-09 19:05:47 -05:00
Doug Coleman
e257291883
fix teh docs
2008-09-07 19:42:41 -05:00
Slava Pestov
580c9b8868
Add stack-checker vocab to interactive-vocabs
2008-09-07 02:37:23 -05:00
Slava Pestov
3e1e0cf232
Fix docs
2008-09-07 02:10:13 -05:00
Doug Coleman
6458f7c67b
Merge branch 'master' of git://factorcode.org/git/factor
2008-09-06 23:58:32 -05:00
Slava Pestov
38b65e00f4
Fix instances to not allocate memory while scanning heap
2008-09-06 20:34:02 -05:00
Doug Coleman
1ba054f021
try out a new way to explain when-foo and unless-foo
2008-09-06 19:19:00 -05:00
Doug Coleman
b1d26e100a
use if/when/unless-empty, docs
2008-09-06 17:10:32 -05:00
Slava Pestov
32c2543571
Documentation fixes
2008-09-06 05:12:28 -05:00
Slava Pestov
18cc66f64e
Update docs
2008-09-05 20:50:07 -05:00
Slava Pestov
57ca685e26
New tuple syntax
2008-09-05 20:39:45 -05:00
Slava Pestov
eff021be65
Add inline declaration
2008-09-05 20:10:47 -05:00
Slava Pestov
161c27a302
Tweak interactive-vocabs
2008-09-05 19:55:28 -05:00
Slava Pestov
b6c2a85931
Remove shuffle word, rename shuffle* to shuffle
2008-09-05 19:54:05 -05:00
Slava Pestov
bcc8483b5b
Move match to basis since compiler.tree.debugger uses it, fix conflict
2008-09-05 19:48:44 -05:00
Slava Pestov
6792ff748e
Move partition combinator into core
2008-09-05 19:32:19 -05:00
Slava Pestov
aea0fed14c
Fixing basis -> extra dependencies
2008-09-05 19:29:14 -05:00
Doug Coleman
6feefffc7a
trim-slice, rename trim-right, more docs
2008-09-05 17:40:57 -05:00
Doug Coleman
dfeb610555
document and fix stack effect for 2cleave, 3cleave
2008-09-05 17:27:10 -05:00
Doug Coleman
5ed87d4d34
rename left/right-trim to trim-left
2008-09-05 17:12:30 -05:00
Doug Coleman
21dfb706fb
more docs for classes
2008-09-05 16:30:58 -05:00
Doug Coleman
0a7edc8aef
document remainder of byte-arrays
2008-09-05 16:04:23 -05:00
Doug Coleman
853da3a116
document all assoc words
2008-09-05 15:52:13 -05:00
Doug Coleman
22632e6851
Merge branch 'master' of git://factorcode.org/git/factor
2008-09-04 21:20:21 -05:00
Doug Coleman
be2cebd94f
more alien docs
2008-09-04 19:09:46 -05:00
Slava Pestov
680e028ccb
Remove blank line
2008-09-04 16:56:24 -05:00
Slava Pestov
7bc32975ee
Fix erg's bug
2008-09-03 23:38:32 -05:00
Slava Pestov
fdf75fe110
Remove slots.deprecated, remove unused slots from slot-spec tuple; last vestiges of old accessors are now gone forever
2008-09-03 18:47:52 -05:00
Slava Pestov
d12f55be31
Fix unit test failure in compiler
2008-09-03 17:24:06 -05:00
Slava Pestov
6b07c85fec
Minor fixes here and there for delegation slot removal
2008-09-03 06:05:50 -05:00
Slava Pestov
0f9a707c55
Merge branch 'master' of git://factorcode.org/git/factor
2008-09-03 03:47:15 -05:00
Slava Pestov
e1716d92b3
Remove delegation slot
2008-09-03 03:46:56 -05:00
Doug Coleman
73086e1a61
add fp-infinity?, docs, and tests
2008-09-03 01:35:03 -05:00
Slava Pestov
ac97c1e14c
Working on removing delegation slot
2008-09-02 23:21:08 -05:00
Doug Coleman
9dedd5698f
fix docs
2008-09-02 22:50:25 -05:00
Doug Coleman
8773d544e7
document assert=
2008-09-02 17:04:13 -05:00
Doug Coleman
0910d858c5
fix docs
2008-09-02 16:49:57 -05:00
Doug Coleman
8df32ea9e4
update the docs
2008-09-02 16:49:45 -05:00
Doug Coleman
74a2e75c64
fix docs
2008-09-02 16:07:17 -05:00
Doug Coleman
bbcba1a7f6
fix docs
2008-09-02 15:22:56 -05:00
Doug Coleman
99f442c2c7
fix docs
2008-09-02 15:19:32 -05:00
Doug Coleman
bb8fcf245f
fix math docs
2008-09-02 15:17:18 -05:00
Doug Coleman
1e8358eff5
Merge branch 'master' of git://factorcode.org/git/factor
2008-09-02 02:09:54 -05:00
Slava Pestov
110a5e5162
Change equality semantics
2008-09-02 02:02:05 -05:00
Doug Coleman
bef502adfc
ENABLE NEW ACCESSORS
2008-09-02 01:56:06 -05:00
Doug Coleman
76fb3de616
new accessors
2008-09-02 01:55:36 -05:00
Slava Pestov
9ca908e5a9
Add some new byte array constructors
2008-09-01 18:26:10 -05:00
Slava Pestov
3b24b52673
Omit default method from usage lists
2008-09-01 04:32:26 -05:00
Slava Pestov
20380e613e
Fix typo
2008-08-31 07:55:34 -05:00
Slava Pestov
0c304b8fc6
Removing old accessor usages from core and basis
2008-08-31 07:45:33 -05:00
Slava Pestov
5792783760
Fix dodgy method overloading
2008-08-31 05:19:16 -05:00
Slava Pestov
f5fbd94a4c
New compiled crossref implementation
2008-08-31 01:34:00 -05:00
Slava Pestov
4fd1547d37
Merge branch 'master' of git://factorcode.org/git/factor
2008-08-30 21:24:11 -05:00
Doug Coleman
9695df7fbd
fix loader bug i introduced
2008-08-30 21:01:54 -05:00
Slava Pestov
c0211437e8
Merge branch 'master' of git://factorcode.org/git/factor
2008-08-30 17:15:02 -05:00
Doug Coleman
5122e137d4
bug i introduced -- reload was leaving a vocab object on stack
2008-08-30 15:21:14 -05:00
Doug Coleman
bc27b82ebc
new accessors in docs
2008-08-30 14:05:59 -05:00
Doug Coleman
e5bec5bbb8
clean up vocab loader a bit
2008-08-30 13:31:00 -05:00
Doug Coleman
9760f3dc58
update old slot accessors to new accessors
2008-08-30 12:42:35 -05:00
Doug Coleman
0f3d585dd2
new accessors
2008-08-30 12:34:45 -05:00
Doug Coleman
582aeaf73a
new accessors
2008-08-30 12:34:37 -05:00
Slava Pestov
86e04a81dc
Fix conflict
2008-08-30 02:32:17 -05:00
Slava Pestov
3cef7c9992
Smarter usage tracking system
2008-08-30 02:31:27 -05:00
Slava Pestov
b3f3068bdc
Massive focused action #1
2008-08-30 00:09:45 -05:00
Slava Pestov
85cdb1b767
Working on new compiled usage strategy; old one was wrong
2008-08-30 00:05:27 -05:00
Doug Coleman
922e1f4371
new accessors
2008-08-29 17:09:19 -05:00
Slava Pestov
1e69e739bf
Merge branch 'master' of git://factorcode.org/git/factor
2008-08-29 16:55:29 -05:00
Slava Pestov
57cbe62046
Quick doc fixes
2008-08-29 16:55:15 -05:00
Doug Coleman
4d8f64822a
ugly accessor
2008-08-29 16:52:10 -05:00
Doug Coleman
44ad8b5f3f
new accessors
2008-08-29 16:16:43 -05:00
Doug Coleman
57d2e5d8a8
remove accessor
2008-08-29 15:49:23 -05:00
Doug Coleman
90bc1bc0b5
use new accessor
2008-08-29 10:37:07 -05:00
Slava Pestov
c9df16e931
Tweak XML-RPC
2008-08-29 04:33:05 -05:00
Slava Pestov
6ead724b25
Fixing bugs
2008-08-29 04:23:39 -05:00
Slava Pestov
1fcbdf9d52
Fix more compiler bugs
2008-08-29 00:26:47 -05:00
Slava Pestov
74dccc7fbf
Debugging compiler
2008-08-28 22:28:34 -05:00
Slava Pestov
1b34c3e586
Merge branch 'master' of git://factorcode.org/git/factor
2008-08-27 00:06:49 -05:00
Slava Pestov
a8560f0f57
Don't store f in vocab root cache
2008-08-25 02:09:45 -05:00
Slava Pestov
8aa6f673aa
Optimizations and load fixes
2008-08-24 03:59:37 -05:00
Slava Pestov
91059b4ad6
Documentation update
2008-08-23 20:24:54 -05:00
Slava Pestov
496c1a115d
Fix typos
2008-08-23 15:05:37 -05:00
Slava Pestov
a4ac751605
Starting to remove delegation
2008-08-22 23:20:49 -05:00
Slava Pestov
8b855b2445
Help lint fixes
2008-08-22 23:00:35 -05:00
Slava Pestov
40e926609a
Fixing unit tests
2008-08-22 22:07:59 -05:00
Slava Pestov
2440fc1ceb
Fixing remaining issues
2008-08-22 17:38:23 -05:00
Slava Pestov
86f11713e3
Fixing some more bugs
2008-08-22 03:12:15 -05:00
U-SLAVA-DFB8FF805\Slava
cead05c5d2
Workaround Windows libc bug (?)
2008-08-22 00:32:37 -05:00
Slava Pestov
60dd301497
Merge branch 'master' into new_optimizer
2008-08-18 20:31:57 -05:00
Slava Pestov
95657e5742
Remove some funny retain stack usage
2008-08-18 20:13:24 -05:00
Slava Pestov
1f89f9bd86
Merge branch 'master' into new_optimizer
2008-08-18 16:44:01 -05:00
Slava Pestov
707ce03f71
Merge branch 'master' of git://factorcode.org/git/factor
2008-08-18 16:41:10 -05:00
Slava Pestov
8b55b53269
Re-implement reverse to fix obscure problem
2008-08-18 16:40:50 -05:00
Doug Coleman
bd8dcd4e0a
move quad to quadruple in utf8
2008-08-16 14:20:36 -05:00
Slava Pestov
879e43a52b
Add unit tests
2008-08-13 18:58:41 -05:00
Slava Pestov
3735f135c0
Move nths word to core
2008-08-13 18:56:41 -05:00
Slava Pestov
2b10238d45
Make slots read-only
2008-08-13 14:17:59 -05:00
Slava Pestov
f2a5a30c6f
New front-end and high-level optimizer lands
2008-08-12 03:22:45 -05:00
Slava Pestov
ed848621a3
Fix
2008-08-11 02:49:43 -05:00
Slava Pestov
a483a5afd5
Fix effect>string
2008-08-10 23:36:46 -05:00
Slava Pestov
73ed573a05
Fix typo in docs
2008-08-10 22:20:14 -05:00
Slava Pestov
f279015b85
Minor fixes
2008-08-06 04:46:30 -05:00
Slava Pestov
9bd8e88318
Minor improvement to xor word
2008-08-01 17:22:58 -05:00
Slava Pestov
6726b0b920
Fix typo
2008-07-29 21:31:58 -05:00
Slava Pestov
6047429401
More unit test fixes
2008-07-29 16:57:30 -05:00
Slava Pestov
6408b01e9d
Add 'unportable' tag in place of hard-coded list of 'dangerous' vocabs in load-everything
2008-07-29 16:47:52 -05:00
Slava Pestov
4cb64aaeb8
Fixing unit tests for eval word being moved
2008-07-29 00:05:01 -05:00
Slava Pestov
8a2f1d0451
More core cleanups
2008-07-28 22:57:43 -05:00
Slava Pestov
f5c15481fe
Move io.styles to basis
2008-07-28 22:28:13 -05:00
Slava Pestov
2f4500c742
Fix help lint
2008-07-28 22:05:34 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
c8cafe5706
Fix dlist-member?
2008-07-28 17:55:41 -05:00
Slava Pestov
ed7ad146d8
Fix NaN handling in math.intervals
2008-07-28 06:31:11 -05:00
Slava Pestov
ed4a212621
Fix typo in docs
2008-07-27 02:32:20 -05:00
Slava Pestov
99522d1090
Print out 'recursive' declaration
2008-07-26 18:58:53 -05:00
Slava Pestov
1f39689e76
Fix bootstrap
2008-07-25 19:27:03 -05:00
Slava Pestov
06d9d4db16
Fix PPC compile errors
2008-07-25 17:40:32 -05:00
Slava Pestov
cc09f334ef
Fix crash with bad each-object usage
2008-07-25 17:37:51 -05:00
Slava Pestov
c6915b1023
Working on tuple slot propagation
2008-07-25 02:07:45 -05:00
Slava Pestov
ef1e8ee8f6
More interval debugging
2008-07-23 20:11:43 -05:00
Slava Pestov
53f4d365b7
'not', 'and' are no longer inline to enable compiler optimizations
2008-07-23 00:16:41 -05:00
Slava Pestov
6333223a2e
Move with-datastack to contiinuations vocab, make it compile
2008-07-22 21:25:49 -05:00
Slava Pestov
5d7cb635ad
Add empty interval handling
2008-07-22 21:04:22 -05:00
Slava Pestov
47376d86f8
Add 2map-into, 2change-each
2008-07-22 04:44:33 -05:00
Slava Pestov
b42c845d48
Update intervals docs
2008-07-22 04:44:21 -05:00
Slava Pestov
0582f45fcb
Add more class algebra opeations
2008-07-22 01:27:52 -05:00
Slava Pestov
af09eae727
Add some more interval operations
2008-07-22 01:27:39 -05:00
Slava Pestov
f1268db79a
Fix test
2008-07-21 20:48:30 -05:00
Slava Pestov
046a6e6ec0
Fix errors reported by builder
2008-07-20 20:26:44 -05:00
Slava Pestov
9d7a1a70ee
Fix bootstrap
2008-07-20 04:24:04 -05:00
Slava Pestov
35bd2abc71
Fix more math.parser stuff
2008-07-20 04:05:09 -05:00
Slava Pestov
9e685d7ac4
Refactor curry/compose a bit for upcoming frontend changes
2008-07-20 01:15:58 -05:00
Slava Pestov
4c4c47de77
Add an unzip word
2008-07-20 01:12:15 -05:00
Slava Pestov
89d3c0c616
Fix negative zero
2008-07-20 00:56:25 -05:00
Slava Pestov
37af854b18
Move io.thread to stage2
2008-07-18 19:25:28 -05:00
Slava Pestov
ac2bf0b87d
Adding inline recursive declarations
2008-07-18 19:22:59 -05:00
Slava Pestov
d0ae6bdb8f
Make array length foldable
2008-07-16 16:48:09 -05:00
Slava Pestov
f64f55ba22
Fix test failures
2008-07-16 01:03:41 -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
0e8ec940f4
Clean up PowerPC assembler and fix compile errors therein
2008-07-14 17:05:56 -05:00
Slava Pestov
4b3bce6435
Merge branch 'master' of git://factorforge.org/git/littledan
2008-07-14 04:40:03 -05:00
Slava Pestov
a135e13540
Fix
2008-07-14 04:38:10 -05:00
Daniel Ehrenberg
6034e27d78
Removed superfluous mixin in heaps
2008-07-14 01:33:13 -07:00
Slava Pestov
bfa89708ae
Workaround optimizer limitation exposed by new optimizer.allot rewrites
2008-07-14 03:18:24 -05:00
Slava Pestov
6ab000cc52
Updating PowerPC backend
2008-07-14 03:06:20 -05:00
Slava Pestov
3cea135fae
Working on PowerPC port
2008-07-14 01:57:19 -05:00
Slava Pestov
aea935638c
Fix bootstrap
2008-07-13 23:26:43 -05:00
Slava Pestov
14b5e35a0e
Fix inspector bug
2008-07-13 23:26:34 -05:00
Slava Pestov
d34d3a6f31
Fix 'hashtable new'
2008-07-13 23:26:20 -05:00
Slava Pestov
817035099c
Fix erg's tuple definition bugs
2008-07-13 21:06:50 -05:00
Slava Pestov
b887849eb9
Add duplicates word: finds elements which appear more than once
2008-07-13 20:46:41 -05:00
Slava Pestov
e6f03f9a4e
Documentation updates
2008-07-13 19:55:54 -05:00
Slava Pestov
9df1363d5b
Convert multiplication by power of 2 into a shift
2008-07-13 15:51:20 -05:00
Slava Pestov
966ef323bc
Expand allocations for simpler intrinsics
2008-07-13 03:53:34 -05:00
Slava Pestov
16b85df5db
Fixes and a small optiimization
2008-07-12 22:27:28 -05:00
Slava Pestov
f1879cb337
Doc updates
2008-07-12 21:28:43 -05:00
Slava Pestov
5a5aeafa9f
Merge branch 'master' of git://factorcode.org/git/factor
2008-07-12 21:15:24 -05:00
Slava Pestov
a700ec7041
More efficient float arrayss; 15% improvement on spectral-norm
2008-07-12 21:15:11 -05:00
erg
eda8281694
document conjoin
2008-07-12 20:56:44 -05:00
Slava Pestov
0770d50d7b
Bi-assocs: fast at and value-at
2008-07-12 18:52:31 -05:00
Slava Pestov
8160859c8b
Fixes
2008-07-12 13:12:45 -05:00
Slava Pestov
1253aed5cd
Doc update
2008-07-12 01:24:10 -05:00
Slava Pestov
7ca3c2a878
Various minor compiler tweaks
2008-07-12 01:08:30 -05:00
Slava Pestov
d278025a39
Fix kernel tests
2008-07-11 20:33:08 -05:00
Slava Pestov
2f560ffbe0
Fix typo
2008-07-11 17:46:57 -05:00
Slava Pestov
a876005c98
Clean up non optimizing compiler, rewrite more primitives in assembly
2008-07-11 17:25:46 -05:00
Slava Pestov
300921a026
Add construct-delegate back, some code still uses it
2008-07-11 00:45:53 -05:00
Slava Pestov
64a2b0c7a5
Remove more delegation usage from UI: build-* words, various misc things
2008-07-11 00:01:22 -05:00
Slava Pestov
bdd5a79177
Compiler fix
2008-07-10 02:52:55 -05:00
Slava Pestov
498986fe88
Fix tuple redefinition bug
2008-07-10 02:11:49 -05:00
Slava Pestov
5d9c1ea0a0
Documentation updates, rename unfold to produce
2008-07-10 01:00:27 -05:00
Slava Pestov
ed788fa49c
Fix stack effect
2008-07-08 14:23:27 -05:00
Slava Pestov
776b245c39
Cleaning up some usages of -roll
2008-07-08 13:22:57 -05:00
U-SLAVA-DFB8FF805\Slava
0051a50b75
Move general shufflers and combinators into generalizations, move narray there too
2008-07-07 19:36:33 -05:00
Slava Pestov
423ad4503b
Minor oversights
2008-07-07 19:11:49 -05:00
Slava Pestov
5ba6a0c56d
Comment out reload tests for now
2008-07-07 10:50:42 -05:00
Slava Pestov
a8808b7087
Non-optimizing compiler now inlow inlines some primitives, this improves bootstrap time
2008-07-07 10:39:04 -05:00
Slava Pestov
0bb85a1ef9
Fix obscure corner case; -include='compiler math'
2008-07-06 18:21:34 -05:00
Slava Pestov
e6282fe1a8
Performance improvements
2008-07-06 01:37:11 -05:00
Slava Pestov
d5a526707e
Merge branch 'master' of git://factorcode.org/git/factor
2008-07-05 23:08:58 -05:00
Slava Pestov
78d24d5a5d
Fix unit test failures
2008-07-05 23:08:30 -05:00
Slava Pestov
476e143fdb
Fix type error
2008-07-05 23:07:11 -05:00
Slava Pestov
9256e31d66
Fix feps on 64 bit
2008-07-05 21:00:05 -05:00
Slava Pestov
1c92b20a9a
Fix two bugs
2008-07-05 20:37:28 -05:00
Slava Pestov
a8b826e8ed
Fix hang
2008-07-05 17:08:01 -05:00
Slava Pestov
48671cfca7
Fix classes.algebra unit tests
2008-07-05 04:42:58 -05:00