John Benediktsson
|
24232cb095
|
io.crlf: add a word that reads an optional CR.
|
2011-10-12 12:36:54 -07:00 |
John Benediktsson
|
e7489ba16a
|
unicode.breaks: >words is now 90+% faster.
|
2011-10-12 11:04:19 -07:00 |
Doug Coleman
|
7228c2df2c
|
stream-element-type on output-ports was broken -- it looked for a stream>> slot but no such slot exists. add some unit tests
|
2011-10-12 01:05:01 -07:00 |
John Benediktsson
|
950f1e1c04
|
random: be> is faster (and they are random anyway)...
|
2011-10-11 22:31:21 -07:00 |
John Benediktsson
|
afc07c0e05
|
io.binary: make le> and be> faster (20% and 75%, respectively).
Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/.
|
2011-10-11 21:13:30 -07:00 |
Doug Coleman
|
757889167a
|
Optimize byte-reverse macro in alien.endian -- it was shifting each byte to the 0th bit place, bitand-ing it with HEX: ff, then shifting it to its final destination -- now we immediately shift to the proper location and bitand with the proper bitmask.
|
2011-10-11 19:36:22 -07:00 |
Doug Coleman
|
c74402dad9
|
Fix using list because I'm dumb for developing Windows changes from a Mac.
|
2011-10-11 13:33:44 -07:00 |
Doug Coleman
|
63fa01fd4f
|
Proper double-quote and backslash escaping for windows command line arguments. Fixes #245.
|
2011-10-11 12:21:04 -07:00 |
Doug Coleman
|
871dfb9a3a
|
On Windows, escape command line arguments with double quotes with a backslash: " -> \". Fixes #245.
|
2011-10-10 22:24:23 -07:00 |
Slava Pestov
|
84fda0bb05
|
alien.complex: fix docs
|
2011-10-10 22:12:50 -07:00 |
Slava Pestov
|
ae286fb7ef
|
callback-error: don't use -e until we fix issue #245
|
2011-10-10 21:25:50 -07:00 |
Slava Pestov
|
df7ee85daf
|
regexp.classes: remove dependency on mirrors vocab
|
2011-10-10 21:09:59 -07:00 |
Slava Pestov
|
ea73b42578
|
bootstrap.compiler: now that C types are named by words, we don't have to load alien.complex on bootstrap
|
2011-10-10 21:09:58 -07:00 |
Joe Groff
|
e200656ce4
|
tools.test.fuzz tests: missing using
|
2011-10-10 18:03:52 -07:00 |
Slava Pestov
|
7bc38641f9
|
compiler.tree.identities: the identity on mod was useless too, because we already have a rewrite rule which handles this case in compiler.tree.propagation
|
2011-10-10 12:34:21 -07:00 |
Joe Groff
|
b5fc65707d
|
new module tools.test.fuzz: quickcheck-style probabilistic testing, based on Andrew Pennebaker's factcheck vocab
|
2011-10-10 12:23:23 -07:00 |
Joe Groff
|
5a21742f74
|
tools.test: move fake-unit-test utility from test suite to module
|
2011-10-10 12:23:23 -07:00 |
Slava Pestov
|
dc36fd712d
|
compiler.cfg.representations: fix unit test, it depended on hashing order which changed recently
|
2011-10-10 12:15:41 -07:00 |
Slava Pestov
|
3a0ffceed9
|
compiler.tree.propagation.transforms: fix rem and mod custom inlining
|
2011-10-10 12:12:53 -07:00 |
Slava Pestov
|
7a4ab74703
|
compiler.codegen.gc-maps: fix tests
|
2011-10-10 12:07:09 -07:00 |
Slava Pestov
|
901ee2434c
|
Fix custom-inlining for mod and rem, which was converting these calls to bitand in some cases, even if the input was not known to be an integer. Fixes #243
|
2011-10-09 13:51:35 -07:00 |
Slava Pestov
|
b4588629ab
|
Remove identities on / and rem, which were no-ops because integer-derived-ops would return an empty array
|
2011-10-09 13:51:03 -07:00 |
Doug Coleman
|
044a03dc34
|
On Windows, the overlapped structure high bits were always zero, so reading through a file > 4gb would loop forever.
|
2011-10-07 15:04:00 -07:00 |
Doug Coleman
|
31175eb5cc
|
Mixin classes in redefine25 test are forgotten, but words still reference them -- forget those words, too. Fixes #143.
|
2011-10-07 10:49:17 -07:00 |
Doug Coleman
|
cca76e0f6e
|
Rename forget-struct-slot-accessors -> forget-slot-accessors
|
2011-10-06 13:21:18 -07:00 |
Doug Coleman
|
2402345794
|
Add examples to encode/decode docs.
|
2011-10-06 13:21:18 -07:00 |
Doug Coleman
|
e7e6191df9
|
Throw an error if an odd number of hex digits gets parsed by H{.
|
2011-10-06 13:21:17 -07:00 |
Doug Coleman
|
685fc2f86f
|
Rename method -> lookup-method in three places.
|
2011-10-04 20:37:23 -07:00 |
Doug Coleman
|
be3eebf719
|
Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming. Fixes #232.
|
2011-10-04 10:40:48 -07:00 |
Doug Coleman
|
acbe85f0f4
|
Rename the STRUCT: point word to something else because it conflicts with other unit tests which define a point word in scratchpad. The struct point is redefined to a tuple point and causes the macro-expansion to error out now that structs are properly reset, so instead we just give it a unique name so it doesnt get redefined. Perhaps examples should define their own vocabularies instead of using scratchpad.
|
2011-10-03 17:13:20 -07:00 |
Doug Coleman
|
25c64d12e8
|
Forget struct slot accessors when structs classes are redefined
|
2011-10-03 17:12:49 -07:00 |
Doug Coleman
|
c14f217300
|
Fix delegate vocab for lookup-method change.
|
2011-10-03 16:42:24 -07:00 |
Doug Coleman
|
181f11faa8
|
Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229.
|
2011-10-03 15:49:49 -07:00 |
Doug Coleman
|
8ee9fcc11f
|
Less use of eval( in unit tests
|
2011-10-03 13:54:34 -07:00 |
Doug Coleman
|
25cdeaf8b0
|
Fix using list in classes.struct tests
|
2011-10-03 01:06:02 -07:00 |
Slava Pestov
|
6bd956670b
|
tools.continuations: >c and c> are gone
|
2011-10-03 00:37:48 -07:00 |
Slava Pestov
|
f8e475485a
|
Add RT_INLINE_CACHE_MISS relocation type to avoid frequent dlsym lookups when compiling PICs. Fixes #123
|
2011-10-03 00:26:21 -07:00 |
Slava Pestov
|
72d3c6e791
|
Fix linkage-errors test to not clobber its own linkage error
|
2011-10-03 00:26:21 -07:00 |
Slava Pestov
|
05f7419f2f
|
Rework non-optimizing compiler backend to use compiler.codegen.relocation
|
2011-10-03 00:26:21 -07:00 |
Slava Pestov
|
b89e9a549b
|
Split up compiler.codegen.fixup into compiler.codegen.{gc-maps,labels,relocation}
|
2011-10-03 00:25:47 -07:00 |
Slava Pestov
|
c68e2308a8
|
Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95
|
2011-10-03 00:24:37 -07:00 |
Slava Pestov
|
dabbe35bd9
|
concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95
|
2011-10-03 00:24:37 -07:00 |
Doug Coleman
|
f4da6f366c
|
Make histogram example unchecked since hashtables print differently now that hashcodes are more optimized
|
2011-10-02 22:21:12 -07:00 |
Doug Coleman
|
44ef1d3698
|
compiler.tree.modular-arithmetic needs shallow-spread>quot
|
2011-10-02 22:21:11 -07:00 |
Slava Pestov
|
daf40ea0c6
|
Fix infinite loop and empty-dlist error when an error is thrown from a callback running in a thread other than the initial thread. This addresses part of issue #92
|
2011-10-02 21:59:09 -07:00 |
Doug Coleman
|
b6f0ee64a0
|
Fix abuse of spread in persistent.hashtables.
|
2011-10-02 21:53:17 -07:00 |
Doug Coleman
|
8504b17aad
|
Rename spread>quot to deep-spread>quot, and spread>quot-shallow to shallow-spread>quot.
|
2011-10-02 20:25:39 -07:00 |
Doug Coleman
|
c4418e637e
|
Define reset-class for struct-classes, add unit tests. Fixes #206.
|
2011-10-02 20:08:23 -07:00 |
Slava Pestov
|
06218d5d12
|
compiler.cfg.builder.alien: fix compilation of callbacks which unconditionally throw errors
|
2011-10-02 19:52:12 -07:00 |
Doug Coleman
|
38feae0e8f
|
Spread now infers with the correct stack effect. Make spread>quot-shallow which trims empty quotations off the head of the spread sequence. Fixes #139.
|
2011-10-02 18:35:01 -07:00 |