John Benediktsson
ed72c670b9
bootstrap.image: disable auto-use. Fixes #263 .
2011-10-15 10:34:34 -07:00
John Benediktsson
37deaec528
random: random integers is 90% faster.
2011-10-14 18:52:41 -07:00
John Benediktsson
7d31da68b8
debugger: remove double namespace using.
2011-10-14 15:45:31 -07:00
Joe Groff
f39f97840a
stack-checker: update tests
...
[ bi ] infer now hits the row polymorphism checker before it hits the unknown-macro-input checker because of the effect on keep. Change the test to more directly test that call fails with an unknown input.
2011-10-14 15:35:29 -07:00
John Benediktsson
cc49bbfb27
math.bitwise: bits is clearer this way.
2011-10-14 13:54:08 -07:00
John Benediktsson
2b21f01918
Remove trim-whitespace in favor of [ blank? ] trim.
2011-10-14 13:22:28 -07:00
John Benediktsson
d61de12011
Cleanup more lint warnings.
2011-10-14 12:31:46 -07:00
Doug Coleman
623ccb95e6
Remove some duplication in lists
2011-10-14 12:08:48 -07:00
John Benediktsson
378786599d
Cleanup lint warnings.
2011-10-14 11:47:24 -07:00
Doug Coleman
933319f401
Cleanups found with lint tool
2011-10-14 10:15:13 -07:00
John Benediktsson
312704ae68
math.parser: cleanup uses of 16/8/2 >base/base>.
2011-10-14 10:09:12 -07:00
John Benediktsson
0965d9be41
webapps.help: remove frames. Fixes #242 .
2011-10-13 22:09:30 -07:00
John Benediktsson
f20e5df501
io.files.info.unix.linux: fix more M: stack effects.
2011-10-13 17:55:30 -07:00
John Benediktsson
2d8e7c77e8
io.files.info.unix.linux: fix M: stack effect.
2011-10-13 17:38:30 -07:00
John Benediktsson
6417f36397
namespaces: adding a "with-global" word to replace "global [ ] bind".
2011-10-13 17:21:59 -07:00
John Benediktsson
422f427a87
Fix M:: stack effects.
2011-10-13 16:44:30 -07:00
John Benediktsson
4558bf3414
Change method parsing to validate stack effects. Fixes #236 .
2011-10-13 16:41:17 -07:00
John Benediktsson
1987deb359
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
John Benediktsson
4baf14972f
sequences: adding ?last for symmetry.
2011-10-13 13:04:24 -07:00
John Benediktsson
3207244c60
sequences: define ?first and ?second.
2011-10-13 12:53:46 -07:00
Doug Coleman
fb178b19a3
Fix using list for http.server tests
2011-10-12 23:19:11 -07:00
John Benediktsson
e7fb699832
http.server: ignore preceding whitespace before request lines. Fixes #252 .
2011-10-12 20:21:16 -07:00
John Benediktsson
1769a63ca3
http.client: too aggressive with ?CRLF.
2011-10-12 20:14:21 -07:00
John Benediktsson
0075b6bc28
sequences: adding find-index.
2011-10-12 19:41:54 -07:00
John Benediktsson
9562dc2054
hash2: remove since it is now unused.
2011-10-12 15:18:04 -07:00
John Benediktsson
6dc8af83fd
unicode.data: remove dependency on hash2.
2011-10-12 15:17:56 -07:00
John Benediktsson
46f8225f7a
http: change client/server to support LF and CRLF delimited headers.
2011-10-12 12:51:49 -07:00
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