Commit Graph

2088 Commits (2344660811f23ef64d0ffedb6f3664bb300279a0)

Author SHA1 Message Date
Slava Pestov d1486589ef Improving macro docs 2009-02-06 10:22:09 -06:00
Slava Pestov aed691dab3 Clean up kernel vocab 2009-02-06 05:12:30 -06:00
Slava Pestov dd9cf39467 Fix conflict in libc 2009-02-06 05:10:41 -06:00
Slava Pestov 7ffbbb13e0 Specialized arrays can now be passed to alien functions directly, without calling underlying>> first 2009-02-06 04:36:17 -06:00
Slava Pestov a0c1d32197 Move io.streams.string from core to basis 2009-02-06 01:58:51 -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 feb5688296 Merge branch 'master' into new_ui 2009-02-04 04:45:33 -06:00
Slava Pestov cd77ecfab3 'case' didn't work if the default was a non-quotation callable, like a curry; this could come up with macro expansion. Bug reported by Dan 2009-02-04 02:41:30 -06:00
Slava Pestov f5c7beb75a Clean up trim-{head,tail}{,-slice} combinators 2009-02-04 00:51:00 -06:00
Doug Coleman 86a46477a6 Unchecked-examples are hard, let's go shopping. 2009-02-03 21:29:24 -06:00
Doug Coleman d5f2a2133b add random to using list 2009-02-03 21:27:59 -06:00
slava e29f18a2f4 Trying to fix a bad merge...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"

This reverts commit da639739bd, reversing
changes made to 346a61f497.
2009-02-03 00:27:34 -06:00
Daniel Ehrenberg 8dfc63eb99 Adding Japanese and Chinese encodings to io.encodings docs and io.encodings.iana 2009-02-02 21:20: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
Slava Pestov 833b805f5c infimum, supremum: use map-reduce 2009-02-02 03:33:40 -06:00
Slava Pestov 32bde32018 Merge branch 'master' into new_ui 2009-02-02 00:22:48 -06:00
Daniel Ehrenberg 3c75dfd2e0 Shift-JIS support; minor cleanup of io.binary 2009-02-01 23:47:36 -06:00
Slava Pestov 4513417657 Clean up some messy stack shuffling 2009-02-01 19:14:43 -06:00
Daniel Ehrenberg f660c7e7e8 Cleanup of io.encodings.utf32 2009-02-01 18:54:06 -06:00
Slava Pestov e090c6ed92 Merge branch 'master' into new_ui 2009-01-30 23:30:00 -06:00
Slava Pestov 30b2dd2e20 Fix typo, we're Unicode 5.1 not 5.0 2009-01-30 23:26:50 -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 505c9a77c2 Merge branch 'master' into new_ui 2009-01-29 22:11:34 -06:00
Doug Coleman c253cd854a move null streams to core and make them not depend on io.styles and io.timeouts, initialize the std streams to null-streams on windows in win32 mode 2009-01-29 18:33:19 -06:00
Slava Pestov 478ef76801 Documents no longer mutatte their model's value 2009-01-29 03:04:23 -06:00
Slava Pestov 7a6552397f Merge branch 'master' into new_ui 2009-01-29 01:45:48 -06:00
Doug Coleman d684e24ee8 file-contents and set-file-contents deal in sequences, not strings 2009-01-29 00:08:40 -06:00
Slava Pestov 87e0110ff1 O(1) equal? and hashcode* for ranges 2009-01-28 23:33:26 -06:00
Slava Pestov 60990b2dc5 Merge branch 'master' into new_ui 2009-01-28 19:19:42 -06:00
Slava Pestov 41af194074 Update io.files docs 2009-01-28 19:19:25 -06:00
Slava Pestov 75e8c793d7 Merge branch 'master' into new_ui 2009-01-28 17:11:33 -06:00
Slava Pestov 4de41f94e9 Fixing wrappers with locals 2009-01-28 17:07:31 -06:00
Slava Pestov a310d67291 Merge branch 'master' into new_ui 2009-01-28 12:17:00 -06:00
Slava Pestov 9b57ff6540 Fix typo in GENERIC# docs 2009-01-28 12:16:00 -06:00
Slava Pestov 6ea93a6355 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-23 23:55:37 -06:00
Slava Pestov f1d20719b2 inferred-effect word prop is just a boolean now, not an effect object 2009-02-23 20:51:14 -06:00
Slava Pestov 1951d739a0 Stack effect declarations are mandatory on all words now
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
U-SLAVA-DFB8FF805\Slava 1cd285bcaa Slots with declared type of callable or quotation now have an initial value [ ] 2009-01-28 01:57:14 -06:00
Slava Pestov 5cd4f65e59 Fix conflict 2009-01-27 15:49:49 -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
Slava Pestov 8b6ae748b9 Merge branch 'master' into new_ui 2009-01-27 06:34:19 -06:00
Slava Pestov 7780c5d983 Fix two small typos 2009-01-27 05:05:46 -06:00
Slava Pestov ec3013c39b Oops, io.encodings.binary was both in core and basis 2009-01-27 04:48:28 -06:00
Slava Pestov ad7b4cec01 Revert Windows console encoding since the DOS prompt is not really cp1252 2009-01-27 04:29:44 -06:00
Slava Pestov a9ef525aed Help lint fixes for stricter help lint 2009-01-27 04:12:37 -06:00
Slava Pestov 2ed993ef58 Clean up assocs to not use swapd 2009-01-27 04:12:16 -06:00
Slava Pestov 597be972b8 Put help.lint in default use list 2009-01-27 04:11:51 -06:00
Slava Pestov ecbb36ad80 Fix assocs help-lint 2009-01-27 01:37:04 -06:00
Slava Pestov 4de760a338 No smart quotes here 2009-01-27 01:33:38 -06:00
Slava Pestov d8e135a4d3 Merge branch 'master' into new_ui 2009-01-27 00:08:52 -06:00
Slava Pestov 043adcf0f6 Use windows-1252 encoding for stdin/stdout on Windows 2009-01-27 00:03:34 -06:00
Slava Pestov e32d11a4d0 Smart quotes 2009-01-26 23:22:50 -06:00
Slava Pestov 56260087ae Merge branch 'master' of git://factorcode.org/git/factor 2009-01-26 23:20:45 -06:00
Slava Pestov 92f9338978 Smart quotes 2009-01-26 23:20:27 -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
Doug Coleman d74db52204 fix example in docs 2009-01-26 15:05:45 -06:00
Doug Coleman f17c8b72ee Merge branch 'master' of git://repo.or.cz/factor/jcg 2009-01-26 09:36:30 -06:00
Slava Pestov acd49fa557 Merge branch 'master' into new_ui 2009-01-25 23:20:52 -06:00
Slava Pestov daf490e4dd Update strings docs to mention Unicode 2009-01-25 23:04:44 -06:00
Slava Pestov ef223f26d5 Fix conflict 2009-01-24 23:56:33 -06:00
Slava Pestov c074740746 Split off data_heap.c from data_gc.c; split off write_barrier.h, local_roots.h from data_gc.h, misc other cleanups 2009-01-24 23:39:00 -06:00
Slava Pestov 60f36cd9c8 Update user-space code for modify-code-heap primitive change 2009-01-24 20:17:11 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov a8d1459c08 Rename compiled slot of words to optimized, to reflect what it really means (all words are compiled) 2009-01-23 00:37:02 -06:00
Slava Pestov 3adaa7a18e Add unit tests for non-optimizing compiler regression found by doublec 2009-01-22 21:22:28 -06:00
Slava Pestov c7c37f5f5c Update I/O docs to talk about elements instead of characters, and add each-block combinator which generalizes contents just like each-line generalizes lines 2009-01-22 19:08:20 -06:00
Slava Pestov 87a1363c95 Merge branch 'master' into new_ui 2009-01-21 19:56:20 -06:00
Slava Pestov 2dc0757850 Cleanups 2009-01-21 19:55:47 -06:00
Slava Pestov a6afdd40b5 Merge branch 'master' into new_ui 2009-01-21 00:45:59 -06:00
Slava Pestov 1c6df27d3c Minor documentation fixes 2009-01-21 00:45:23 -06:00
Slava Pestov 25340e881b Merge branch 'master' into new_ui 2009-01-20 15:38:05 -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 0760d327d7 Merge branch 'master' into new_ui 2009-01-19 14:16:25 -06:00
Doug Coleman 66f5694462 document more core/ words 2009-01-17 22:15:57 -06:00
Slava Pestov 402bcbb36f Merge branch 'master' into new_ui 2009-01-16 17:03:29 -06:00
Slava Pestov ca2f01e0d0 Updating non-core libraries for monotonic? change 2009-01-16 17:02:54 -06:00
Slava Pestov 8b85d627d3 Merge branch 'master' into new_ui 2009-01-16 14:49:44 -06:00
Slava Pestov 7eb831d349 Fix various documentation errors 2009-01-16 13:30:43 -06:00
Slava Pestov 24f9dada5e Merge branch 'master' into new_ui 2009-01-15 15:37:42 -06:00
Slava Pestov 94292d1791 Move monotonic? unit tests to grouping 2009-01-15 15:37:30 -06:00
Slava Pestov 55bfbde279 Merge branch 'master' into new_ui 2009-01-15 15:30:14 -06:00
Slava Pestov 1f0c01183e Re-implement monotonic? without using rot 2009-01-15 15:24:46 -06:00
Slava Pestov 2612b3c087 Fix typo in each-line docs 2009-01-15 13:02:45 -06:00
Slava Pestov 5e7b6e8a0d Merge branch 'master' into new_ui 2009-01-13 19:26:46 -06:00
Slava Pestov 1f29e128c1 io.styles refactoring introduced a load error in io.streams.null; fix that, add docs, and remove unused with-null-stream 2009-01-13 19:25:44 -06:00
Slava Pestov 21433c47ef Fix conflict 2009-01-13 17:54:27 -06:00
Slava Pestov 4204fd495f Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size 2009-01-13 17:12:43 -06:00
Slava Pestov 0a81e463ef Merge branch 'master' into new_ui 2009-01-12 14:33:36 -06:00
Slava Pestov daf86c693e Fix help-lint for sets vocab 2009-01-12 14:32:14 -06:00
Slava Pestov 806c0f4900 Merge branch 'master' into new_ui 2009-01-12 01:55:03 -06:00
Slava Pestov e6aa33ac12 Add new intersects? word and use it in a few places instead of intersect empty? 2009-01-12 01:51:38 -06:00
Slava Pestov d305cb897b Merge branch 'master' into new_ui 2009-01-10 18:14:56 -06:00
Slava Pestov 296a6d1d3c Merge branch 'master' of git://factorcode.org/git/factor 2009-01-10 18:14:36 -06:00
Slava Pestov da20ea83af Minor parser docs fix 2009-01-10 18:13:16 -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
Doug Coleman f3c7a87065 clarify how sort works 2009-01-09 19:12:49 -06:00
Slava Pestov 3ad224a837 Merge branch 'master' into new_ui 2009-01-08 17:03:54 -06:00
Doug Coleman e20145dbad Merge branch 'master' of git://factorcode.org/git/factor 2009-01-08 17:02:24 -06:00
Doug Coleman 076b2d0893 add >=< word to math.order 2009-01-08 16:06:01 -06:00
Slava Pestov b8351d9da0 Merge branch 'master' into new_ui 2009-01-07 21:41:27 -06:00
Slava Pestov c47f14afcd Add link 2009-01-07 21:20:05 -06:00
Slava Pestov e03f997837 Add io.pathnames to default use list in listener 2009-01-06 12:15:58 -06:00
Slava Pestov 651c298eb3 Merge branch 'master' into new_ui 2009-01-05 19:56:25 -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
Slava Pestov fa4eecacc8 Merge branch 'for-slava' of git://git.rfc1149.net/factor into new_ui 2008-12-28 15:34:57 -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
Doug Coleman f9dacfb16b more docs for pathnames 2008-12-26 17:13:20 -06:00
Joe Groff 9705778f4b Merge branch 'master' of git://factorcode.org/git/factor 2008-12-24 12:51:21 -08:00
Slava Pestov 0ebd6c1974 Merge branch 'master' into new_ui 2008-12-22 05:44:39 -06:00
Slava Pestov 058ba127cb Cleaning up more -rot usages 2008-12-22 05:41:01 -06:00
Slava Pestov 5543cc6aaf Merge branch 'master' into new_ui 2008-12-22 00:55:07 -06:00
unknown 99c6a9f31d Fix kernel unit tests on Win64 2008-12-21 18:52:13 -06:00
Slava Pestov 61ac513b32 Merge branch 'master' into new_ui 2008-12-21 14:41:24 -06:00
Slava Pestov 19a8a9ac9b Minor documentation updates 2008-12-21 14:29:12 -06:00
Joe Groff 3a38cb5a8c Typo in INSTANCE: doc 2008-12-18 14:02:35 -08:00
Slava Pestov 9ae23231af Merge branch 'new_ui' of /Users/slava/old/factor into new_ui 2008-12-17 23:41:17 -06:00
Slava Pestov 5fdb474c76 Fixing various test failures and updating some more vocabs for >r/r> removal 2008-12-17 22:29:32 -06:00
Slava Pestov 34792a9f23 Remove >r/r> 2008-12-17 19:17:37 -06:00
Slava Pestov 0643cf3a44 Merge branch 'master' into new_ui 2008-12-17 18:15:01 -06:00
Slava Pestov 2b553566d2 Fix bootstrap 2008-12-17 18:12:59 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov 45429fed2f Minor doc clarification 2008-12-17 15:02:06 -06:00
Slava Pestov 425c70caa9 Remove empty tags file 2008-12-16 02:03:35 -06:00
Slava Pestov 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
Slava Pestov 0021cde743 Fix more compile errors 2008-12-15 22:21:56 -06:00
U-SLAVA-DFB8FF805\Slava bf4acfa509 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-13 05:06:56 -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 e335059a87 Add meta-data to new I/O vocabularies 2008-12-15 08:15:32 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
U-SLAVA-DFB8FF805\Slava 53db40ba13 Add more stack declarations 2008-12-13 05:06:28 -06:00
Slava Pestov 9f2431996d Merge branch 'master' into new_ui 2008-12-13 05:00:55 -06:00
Slava Pestov 023ae576b5 Updating unit tests for io.files split 2008-12-15 01:40:50 -06:00
Slava Pestov e0f86889c7 Fixing load-everything for io.files split 2008-12-15 01:13:35 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
Slava Pestov 6ea1de887d More unit test fixes 2008-12-14 22:38:14 -06:00
Slava Pestov dccbb84629 Updating unit tests for I/O re-organization 2008-12-14 21:21:44 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00
Slava Pestov a91dee7810 Fix for native I/O backends that create callbacks in deployed apps; this affected tools.deploy.test[35] ever since run-loop multiplexer landed on OS X 2008-12-12 19:48:17 -06:00
Slava Pestov 38046364ac Fix memory test on OpenBSD 2008-12-12 01:00:32 -06:00
Slava Pestov da94d8afae Working on new UI 2008-12-11 16:47:38 -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 7ad6d34212 Fix byte-arrays tests 2008-12-09 21:07:28 -06:00
Slava Pestov ec23584f48 Finish up O(1) byte array allocation 2008-12-09 18:17:04 -06:00
Slava Pestov d9231f3bc5 Remove unsafe string allocation, since its of dubious value 2008-12-09 17:53:00 -06:00
Slava Pestov eb79c6ab71 Fix conflict 2008-12-09 17:52:45 -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 b5e8b14722 Add unit test for GC problem 2008-12-09 16:45:02 -06:00
Slava Pestov ea4feee886 Fix typo 2008-12-09 15:10:51 -06:00
John Benediktsson 6745e0dad9 Fix error in the docs for assoc-map. 2008-12-09 12:35:59 -08:00
Slava Pestov ccab34e7c4 Fix restart behavior with circular vocabs, and add a test for this 2008-12-09 04:50:33 -06:00
Slava Pestov 7c1c97470f tuple-class-unchanged? was bogusly returning f during bootstrap for classes without a superclass 2008-12-08 23:52:46 -06:00
Slava Pestov b154b21aaa Add new until combinator, and a new do word which acts like a modifier: do while, do until for loops which iterate at least once 2008-12-08 23:37:18 -06:00
Slava Pestov a0e7663afb Remove eval dependency from unicode.syntax 2008-12-08 19:46:40 -06:00
Slava Pestov 7940020491 Untangling more dependencies 2008-12-08 16:02:31 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00
Slava Pestov 73b3cd6367 Use eq? instead of number= since we only ever have a fixnum here 2008-12-08 13:59:59 -06:00
Slava Pestov ca8091443c Move byte-vectors and io.streams.byte-array to basis 2008-12-08 13:59:25 -06:00
Slava Pestov e4f8448eb1 Fix some problems with arithmetic type inference, exposed by recent changes to log2 word
- declared input type for bignum-shift was stricter than the runtime behavior, leading to bad propagation of type info if shift count was a bignum
- types inferred for type functions which used number-valued/integer-valued/real-valued were not always precise, eg bignum bignum bitxor => integer
- add interval-log2, type function for (log2)
- remove math-class-min, it was useless
2008-12-07 19:44:49 -06:00
Slava Pestov 3469d50b91 Merge branch 'master' of git://factorcode.org/git/factor 2008-12-07 08:51:40 -06:00
Slava Pestov d1744fd67a Remove cache-nth word, nobody was using it and the semantics were broken 2008-12-07 08:51:22 -06:00
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