John Benediktsson
|
9a0ccea599
|
destructors: use hash-sets to keep track of disposables.
|
2013-03-08 16:30:33 -08:00 |
John Benediktsson
|
5d146aa648
|
parser: fix tests for hash-set change.
|
2013-03-08 14:57:21 -08:00 |
John Benediktsson
|
ed0de7b246
|
classes.tuple: require boa words to have tuple-class arguments.
|
2013-03-08 14:56:07 -08:00 |
John Benediktsson
|
26131a5c3e
|
classes: store implementors in hash-sets.
|
2013-03-08 10:29:50 -08:00 |
John Benediktsson
|
45f2b4b62a
|
vocabs.parser: use hash-sets in search-vocab-names.
|
2013-03-08 10:09:41 -08:00 |
John Benediktsson
|
b104e94267
|
sets: adding diff!.
|
2013-03-08 08:21:16 -08:00 |
John Benediktsson
|
dc3aa2a4e4
|
sets: adding union! and intersection.
|
2013-03-08 07:57:45 -08:00 |
John Benediktsson
|
bf4e997c3a
|
hash-sets: fix help-lint warnings.
|
2013-03-08 06:15:27 -08:00 |
John Benediktsson
|
25e42f5fb6
|
bootstrap: make sure to rehash hash-sets also.
|
2013-03-07 22:04:52 -08:00 |
John Benediktsson
|
db4e6592a2
|
hash-sets: reuse (rehash).
|
2013-03-07 22:02:02 -08:00 |
John Benediktsson
|
a4b4f4b458
|
hashtables: reuse (rehash).
|
2013-03-07 22:01:50 -08:00 |
John Benediktsson
|
ede0232ddc
|
hash-sets: faster implementation based on hashtables.
|
2013-03-07 21:43:17 -08:00 |
John Benediktsson
|
cce5f95cdf
|
hashtables: slightly faster grow logic.
|
2013-03-07 20:51:46 -08:00 |
John Benediktsson
|
8ef3f34cde
|
sets: adding clear-set.
|
2013-03-07 18:48:15 -08:00 |
John Benediktsson
|
a318742202
|
Use -unsafe words with pair methods.
|
2013-03-07 10:47:23 -08:00 |
John Benediktsson
|
d75b5cd7d6
|
sequences: add a copy-unsafe that can be used sometimes.
|
2013-03-06 14:06:33 -08:00 |
John Benediktsson
|
3ec1fa7ef8
|
continuations: speed up init-catchstack.
|
2013-03-06 10:09:14 -08:00 |
John Benediktsson
|
d1b267fc9b
|
destructors: adding dispose,.
|
2013-03-06 09:16:43 -08:00 |
John Benediktsson
|
fde5441f51
|
vocabs: only notify vocab-observers if we are creating a new vocab.
|
2013-03-05 21:13:45 -08:00 |
John Benediktsson
|
f9c7df870f
|
assocs: cleanup and use first2-unsafe in assoc-find.
|
2013-03-05 20:42:15 -08:00 |
John Benediktsson
|
fb9ca9818c
|
core: some more cleanup of USING lists.
|
2013-03-05 10:48:14 -08:00 |
John Benediktsson
|
3337401551
|
core: cleanup USING lists.
|
2013-03-05 10:34:47 -08:00 |
Doug Coleman
|
ef4e3d054f
|
sequences: Rename slice-error the word to check-slice-error, make slice-error the TUPLE: an ERROR:
|
2013-03-05 06:57:40 -08:00 |
John Benediktsson
|
19ffc5ffdf
|
combinators: moving M\ iota hashcode* back since each-integer has hints.
|
2013-03-04 17:46:46 -08:00 |
John Benediktsson
|
40313076b2
|
math: speed up (find-integer) and (all-integers?) by removing curry.
|
2013-03-04 17:32:11 -08:00 |
John Benediktsson
|
b8922acd45
|
words: adding inline-recursive?.
|
2013-03-04 16:09:56 -08:00 |
John Benediktsson
|
171e14f01e
|
layouts: speed up ``M\ iota hashcode*`` using most-positive-fixnum.
|
2013-03-03 17:33:35 -08:00 |
John Benediktsson
|
7412e1b386
|
combinators: faster hashcode for iota.
|
2013-03-01 10:42:20 -08:00 |
John Benediktsson
|
ce9a05fbfb
|
bootstrap: remove old counting profiler vocab.
|
2013-03-01 09:18:49 -08:00 |
John Benediktsson
|
d92e9ca853
|
math.integers: the fixnum-log2 intrinsic didn't work due to inlining.
|
2013-02-27 17:08:36 -08:00 |
John Benediktsson
|
4da316cf1b
|
math.integers: faster fixnum-log2.
|
2013-02-27 16:01:34 -08:00 |
John Benediktsson
|
44ecc1616c
|
assocs: change enum to immutable-sequence.
|
2013-02-22 06:58:29 -08:00 |
John Benediktsson
|
5a97ee1e25
|
assocs: allow enums to support sequence protocol.
|
2013-02-21 18:24:50 -08:00 |
John Benediktsson
|
d0adf11f5d
|
sequences: define a single "?set-nth" that is used.
|
2013-02-20 10:42:21 -08:00 |
Doug Coleman
|
9040ed25f2
|
sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests.
|
2013-01-03 16:44:25 -08:00 |
John Benediktsson
|
ccde875d0a
|
io.files: fix testcase for renamed icon file.
|
2012-11-30 18:28:20 -08:00 |
John Benediktsson
|
90da68acec
|
sbufs: no need to contract.
|
2012-10-24 20:16:34 -07:00 |
John Benediktsson
|
74880d02c0
|
hashtables: use "4drop" instead of "drop 3drop".
|
2012-10-23 12:26:14 -07:00 |
John Benediktsson
|
74c14ddbde
|
io.pathnames: remove file-directory (redundant to parent-directory).
|
2012-10-23 09:47:57 -07:00 |
John Benediktsson
|
3e36ac7bfc
|
Change "3dup drop" to "2over".
|
2012-10-22 20:45:15 -07:00 |
John Benediktsson
|
96da51e8b7
|
io.pathnames: adding file-directory.
|
2012-10-22 18:09:58 -07:00 |
John Benediktsson
|
14cca7e142
|
Revert "sequences: change map-integers to require fixnum length."
This reverts commit 0f71db0c97.
|
2012-10-22 11:13:56 -07:00 |
John Benediktsson
|
0f71db0c97
|
sequences: change map-integers to require fixnum length.
|
2012-10-22 10:32:27 -07:00 |
Doug Coleman
|
99782d4f53
|
kernel: Add 4dup, 4drop, and 4cleave.
|
2012-10-22 09:47:34 -07:00 |
John Benediktsson
|
3b94eb5fb7
|
Revert "core: >array, >byte-vector, >hashtable, >vector should be inline."
This reverts commit cd6026e70e.
|
2012-10-05 08:30:41 -07:00 |
John Benediktsson
|
cd6026e70e
|
core: >array, >byte-vector, >hashtable, >vector should be inline.
|
2012-09-28 19:31:14 -07:00 |
John Benediktsson
|
061a4c6dc9
|
sequences: change stack effect docs for map-reduce to be more consistent.
|
2012-09-27 11:14:21 -07:00 |
John Benediktsson
|
50ffb0c2d1
|
update some docs that should use $quotation.
|
2012-09-27 11:09:17 -07:00 |
John Benediktsson
|
ea844b531f
|
assocs: 2cache can be a bit more unsafe.
|
2012-09-23 17:40:25 -07:00 |
John Benediktsson
|
6398bea5db
|
classes.algebra: fix docs for class<=.
|
2012-09-22 21:20:54 -07:00 |
John Benediktsson
|
cb88625ff0
|
classes.tuple: adding set-slots and from-slots.
|
2012-09-22 13:48:25 -07:00 |
John Benediktsson
|
4a347ebecf
|
classes.builtin: fold type>class.
|
2012-09-21 11:44:14 -07:00 |
John Benediktsson
|
9f55e9f0a4
|
math.integers: fix docs for fixnum comparisons.
|
2012-09-21 10:05:33 -07:00 |
Doug Coleman
|
f9ea279988
|
alien: Clarify alien-assembly docs.
|
2012-09-20 18:25:53 -07:00 |
John Benediktsson
|
af796f0807
|
sequences: fix docs to use "dst" as a convention.
|
2012-09-19 16:45:28 -07:00 |
John Benediktsson
|
11650d89ad
|
sequences: adding second-, third-, and fourth- unsafe words.
|
2012-09-19 10:33:51 -07:00 |
Doug Coleman
|
a15e77502b
|
alien: Fix docs.
|
2012-09-19 09:02:28 -07:00 |
Doug Coleman
|
a17173294d
|
alien: Fix the usings
|
2012-09-18 21:31:34 -07:00 |
Doug Coleman
|
9ba63f61d6
|
alien: More docs for alien-assembly.
|
2012-09-18 20:31:08 -07:00 |
John Benediktsson
|
f91f6c7adc
|
Revert "math: speed up integer>fixnum operations."
This reverts commit b467db9a9a.
|
2012-09-16 07:46:22 -07:00 |
John Benediktsson
|
b467db9a9a
|
math: speed up integer>fixnum operations.
|
2012-09-15 08:52:06 -07:00 |
John Benediktsson
|
95c77845d0
|
math.integers: fix docs for >integer.
|
2012-09-15 08:51:19 -07:00 |
John Benediktsson
|
667751b5ea
|
continuations: slight speedup.
|
2012-09-14 14:59:38 -07:00 |
John Benediktsson
|
2dd24868fa
|
math.order: improve docs for invert-comparison.
|
2012-09-14 09:45:03 -07:00 |
John Benediktsson
|
e166b7c918
|
math.order: cleanup stack effects.
|
2012-09-14 09:36:09 -07:00 |
John Benediktsson
|
0676ac249a
|
math.order: make it more obvious this is a real<=>.
|
2012-09-14 09:19:26 -07:00 |
John Benediktsson
|
6d5bd24217
|
sorting: 6% performance improvement using -unsafe words.
|
2012-09-14 09:03:55 -07:00 |
John Benediktsson
|
5ba7fe8920
|
math.order: speed up math comparisons using a math generic.
|
2012-09-14 08:43:29 -07:00 |
John Benediktsson
|
9992096028
|
math: cleaner "2/" speedup by using custom inlining.
|
2012-09-10 17:59:03 -07:00 |
John Benediktsson
|
85fa196939
|
math: faster definition of 2/ (allows inlining of fixnum-shift-fast).
|
2012-09-10 17:20:31 -07:00 |
John Benediktsson
|
b7e220ad9f
|
math.integers: inline fixnum-log2.
|
2012-09-10 17:20:12 -07:00 |
John Benediktsson
|
5854fb8094
|
sequences: bit faster binary-reduce.
|
2012-09-10 16:53:10 -07:00 |
John Benediktsson
|
89d37a4b0b
|
sequences: minor formatting improvements.
|
2012-09-05 16:21:47 -07:00 |
John Benediktsson
|
a669234645
|
sequences: faster "flip", looks at each element only once.
|
2012-09-05 16:02:20 -07:00 |
John Benediktsson
|
462b216006
|
sequences: make nth3-unsafe simpler.
|
2012-09-05 10:52:44 -07:00 |
John Benediktsson
|
cf8f263fe6
|
sequences: faster binary-reduce.
|
2012-09-05 09:32:54 -07:00 |
John Benediktsson
|
deced177a8
|
sequences: better "halves".
|
2012-09-04 19:57:45 -07:00 |
John Benediktsson
|
43a40368c2
|
sequences: less bounds checking in binary-reduce.
|
2012-09-04 19:57:45 -07:00 |
John Benediktsson
|
d40d7f3c35
|
math: faster recip for integers and ratios.
|
2012-09-02 09:47:31 -07:00 |
John Benediktsson
|
28491d9152
|
math: adding some tests for bignum bitnot.
|
2012-08-31 15:22:20 -07:00 |
John Benediktsson
|
3068da5a65
|
math.integers: faster fixnum-bit?.
|
2012-08-30 22:40:22 -07:00 |
John Benediktsson
|
b640610356
|
sequences: some minor performance improvements.
|
2012-08-30 11:33:57 -07:00 |
John Benediktsson
|
d3fa0c57ab
|
graphs: move some words to private.
|
2012-08-30 11:31:52 -07:00 |
Doug Coleman
|
0dcc62685a
|
io: Make stream-contents call stream-contents* and do the disposal in the top-level. Fixes #645.
|
2012-08-25 17:03:51 -07:00 |
John Benediktsson
|
d4af92f933
|
sets: minor improvements to sequence-as-sets.
|
2012-08-24 16:37:01 -07:00 |
Doug Coleman
|
11464e10bd
|
core: in-definition -> with-definition.
|
2012-08-24 16:07:31 -07:00 |
Doug Coleman
|
a335710021
|
core: rename in-word-definition to in-definition
|
2012-08-24 16:04:49 -07:00 |
Doug Coleman
|
1973ca3af1
|
core: Don't allow nested defintions in :, ::, M:, M::. Fixes #469.
|
2012-08-24 15:53:45 -07:00 |
Doug Coleman
|
7de0c0cb69
|
hashtables: Enforce shape on hashtable literals. Fixes #568.
|
2012-08-24 15:11:03 -07:00 |
Doug Coleman
|
ba51919e50
|
assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
|
2012-08-23 22:36:10 -07:00 |
John Benediktsson
|
e4fb87d0f1
|
combinators: M\ array hashcode* makes memoize faster.
|
2012-08-23 17:28:27 -07:00 |
John Benediktsson
|
8984e624dd
|
bootstrap.syntax: removed deprecated ((.
|
2012-08-21 20:46:29 -07:00 |
John Benediktsson
|
19d31a6fb0
|
layouts: defining "fixnum-bits".
|
2012-08-21 18:05:59 -07:00 |
John Benediktsson
|
7e6385d9e8
|
slots: make predicates return booleans.
|
2012-08-14 18:09:50 -07:00 |
John Benediktsson
|
19cd3c1fae
|
io: improve docs for stream-copy*.
|
2012-08-14 15:12:19 -07:00 |
John Benediktsson
|
85cf41e26a
|
vocabs: change vocabs-changed to be vocab-changed and take a vocab argument.
|
2012-08-13 12:05:42 -07:00 |
John Benediktsson
|
3c046fe12a
|
vocabs.loader: early exit for private vocab.
|
2012-08-13 11:11:59 -07:00 |
John Benediktsson
|
7b3febb4de
|
vocabs: reverting recent private vocab changes.
|
2012-08-13 10:32:14 -07:00 |
John Benediktsson
|
1ce4c1045c
|
vocabs.loader: adding tests for recent changes.
|
2012-08-10 15:15:38 -07:00 |
John Benediktsson
|
40bb77c915
|
vocabs.loader: simplify.
|
2012-08-10 15:11:42 -07:00 |
John Benediktsson
|
537de726ec
|
vocabs.loader: more private fixes.
|
2012-08-10 15:08:40 -07:00 |
John Benediktsson
|
b9bfd1db40
|
vocabs.loader: better fix for append-vocab-dir.
|
2012-08-10 15:01:37 -07:00 |
John Benediktsson
|
5ba78ff6b8
|
vocabs.loader: vocab-dir should work with private vocabs too.
|
2012-08-10 14:43:59 -07:00 |
John Benediktsson
|
b4825a249d
|
vocabs: make source/docs/tests work for private vocabs.
|
2012-08-10 14:39:53 -07:00 |
John Benediktsson
|
de891028cb
|
sequences.extras: moved 2each-index to extras for now.
|
2012-08-09 16:36:35 -07:00 |
John Benediktsson
|
608198c670
|
sequences: adding 2each-index.
|
2012-08-08 20:08:08 -07:00 |
John Benediktsson
|
54d9cb30e1
|
splitting: making split inline.
|
2012-08-06 15:08:16 -07:00 |
Doug Coleman
|
04a7bd1236
|
classes.tuple: Fix unit test.
|
2012-08-03 15:11:30 -07:00 |
Doug Coleman
|
d15a2357d1
|
core: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum doesn't fit. Fixes #594.
|
2012-08-03 14:59:59 -07:00 |
John Benediktsson
|
bd9dc0be24
|
hashtables: testing that associate and H{ } set-at have same characteristics.
|
2012-08-03 08:30:55 -07:00 |
John Benediktsson
|
722ef4d693
|
hashtables: reduce default size of associate.
|
2012-08-02 21:43:37 -07:00 |
John Benediktsson
|
c103da2dca
|
fix using list for recent test additions.
|
2012-08-02 17:41:13 -07:00 |
John Benediktsson
|
e7a4b48ae7
|
adding some tests for the recent integer>fixnum fix.
|
2012-08-02 15:24:31 -07:00 |
John Benediktsson
|
623f10775a
|
namespaces: counter should be inlined for globals optimization to work.
|
2012-08-02 15:14:21 -07:00 |
John Benediktsson
|
ef9d5fc745
|
using integer>fixnum in more places.
|
2012-08-02 14:26:39 -07:00 |
John Benediktsson
|
775fd2195d
|
make: update docs for 'make-assoc' functionality.
|
2012-08-02 09:32:18 -07:00 |
John Benediktsson
|
dcf2a5e508
|
io.backend: fix docs to show nanoseconds instead of micros.
|
2012-08-01 12:08:18 -07:00 |
Doug Coleman
|
198931cd72
|
sequences: Change bounds-check? to be generic on integer so that floating points can't index into sequences. Fixes #582.
|
2012-07-31 08:36:34 -07:00 |
Doug Coleman
|
008d035b39
|
classes.tuple: Fix unit tests related to coerce
|
2012-07-30 18:41:22 -07:00 |
Doug Coleman
|
3fc0c5d1ec
|
slots: Don't coerce flots to integers in tuple slots. Add an initial value for bignums so they can be used as tuple slot types. Fixes #593.
|
2012-07-30 18:16:44 -07:00 |
John Benediktsson
|
397b4a36dd
|
Revert "vocabs.loader: teach append-vocab-dir about private vocabs."
This reverts commit 9b98c098c1.
|
2012-07-30 11:50:22 -07:00 |
John Benediktsson
|
9b98c098c1
|
vocabs.loader: teach append-vocab-dir about private vocabs.
|
2012-07-30 11:36:54 -07:00 |
John Benediktsson
|
2634b9c9ec
|
splitting: crlf? was unnecessary.
|
2012-07-30 11:26:38 -07:00 |
John Benediktsson
|
cf5627b438
|
sequences: improve change-nth, if nth was successful, set-nth can be unsafe.
|
2012-07-30 11:26:32 -07:00 |
John Benediktsson
|
7e6d8e528c
|
sequences: slightly faster sequence=.
|
2012-07-27 21:30:03 -07:00 |
John Benediktsson
|
0fe9200839
|
byte-vectors: simplify >byte-vector.
|
2012-07-27 21:29:52 -07:00 |
John Benediktsson
|
35f9ef9e88
|
io.streams.sequence: minor refactor, minor speedup.
|
2012-07-27 21:12:26 -07:00 |
John Benediktsson
|
2ce4b091af
|
sequences: minor docs fixes.
|
2012-07-27 21:04:37 -07:00 |
John Benediktsson
|
aa24973542
|
Revert "bootstrap: words have read-only string names."
This reverts commit 0fa588820f.
|
2012-07-27 19:35:48 -07:00 |
John Benediktsson
|
1d3d6e7427
|
Revert "continuations: add typing."
This reverts commit 34d3f878cd.
|
2012-07-27 19:21:47 -07:00 |
John Benediktsson
|
34d3f878cd
|
continuations: add typing.
|
2012-07-27 19:16:31 -07:00 |
John Benediktsson
|
93624a821b
|
parser: make sure lines is an array.
|
2012-07-27 19:06:22 -07:00 |
John Benediktsson
|
0fa588820f
|
bootstrap: words have read-only string names.
|
2012-07-27 16:44:43 -07:00 |
John Benediktsson
|
5342100e09
|
lexer: typed slots.
|
2012-07-27 16:05:28 -07:00 |
John Benediktsson
|
30dfa700ba
|
sequences: slightly faster ?last.
|
2012-07-27 09:12:29 -07:00 |
John Benediktsson
|
ddb9bcfe14
|
strings.parser: support "\x" ascii hex escapes.
|
2012-07-26 19:24:25 -07:00 |
Doug Coleman
|
c44e48615b
|
docs: vm says to read "command-line" but it was called "cli". change the article title in the docs.
|
2012-07-25 23:49:19 -07:00 |
Doug Coleman
|
a6c3ddf691
|
sequences: Fix tests that broke when nth could only be integers. Undo integer>fixnum in iota nth. See bug #582.
|
2012-07-25 22:17:24 -07:00 |
John Benediktsson
|
82f2daa6ad
|
io: more inlining.
|
2012-07-25 20:55:01 -07:00 |
Doug Coleman
|
92eee23e48
|
core: Use integer>fixnum instead of >fixnum for ``nth`` and other sequence operations. Fixes #581.
|
2012-07-25 18:24:43 -07:00 |
Doug Coleman
|
376bc1bdf1
|
classes.tuple: Save slot name and tuple in no-slot error.
|
2012-07-24 14:05:58 -07:00 |
John Benediktsson
|
854ad5ca98
|
classes.tuple: moving get-slot-named and set-slot-named from db.types.
|
2012-07-24 11:55:16 -07:00 |
Doug Coleman
|
126a3e486f
|
syntax: Clarify that inlined words can also be compiled stand-alone.
|
2012-07-23 12:18:43 -07:00 |
Doug Coleman
|
f37b12e689
|
math.integers: Bignum hashcode* -- call bignum>fixnum to avoid a dispatch.
|
2012-07-23 09:38:12 -07:00 |
Doug Coleman
|
c25d044788
|
compiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer>fixnum. Fixes #500.
|
2012-07-23 09:31:12 -07:00 |
John Benediktsson
|
8172f3be00
|
kernel: adding docs for "same?"
|
2012-07-21 19:43:16 -07:00 |
John Benediktsson
|
8478be295d
|
make: switch to with-variable instead of with-scope.
|
2012-07-21 10:44:54 -07:00 |
John Benediktsson
|
e654e4afd9
|
Using "same?" in more places.
|
2012-07-21 10:22:44 -07:00 |
John Benediktsson
|
e52f03f0c9
|
kernel: adding "same?" which is "bi@ =".
|
2012-07-21 10:22:29 -07:00 |
John Benediktsson
|
8cf4ce1950
|
vocabs.parser: speedup parse-datum for numbers.
|
2012-07-20 22:48:47 -07:00 |