Commit Graph

9545 Commits (80385770effd169618136e7d3a1cea7c8ab55134)

Author SHA1 Message Date
Doug Coleman 1f105209cf Lower tcp-echo0 test so we don't crash 2011-10-19 01:17:08 -07:00
John Benediktsson 88a40c19e2 mongodb.driver: remove stack effect. 2011-10-18 20:03:05 -07:00
John Benediktsson 623e6af857 tokyo.remotedb: remove stack effects. 2011-10-18 20:01:37 -07:00
John Benediktsson 860a734e96 parser-combinators: fix constructor stack effects. 2011-10-18 19:23:22 -07:00
John Benediktsson 79e2265db1 irc: fix IRC: stack effects. 2011-10-18 19:20:24 -07:00
John Benediktsson 375d9813fb cpu.8080: fix stack effects. 2011-10-18 19:15:09 -07:00
Joe Groff 13b17fb84a io: input-stream and output-stream mixins 2011-10-18 16:25:09 -07:00
John Benediktsson b237df3a3b Remove unused stack effects from DEFER: declarations. 2011-10-18 14:42:17 -07:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
John Benediktsson 8b724d9657 webapps.mason: link crashed and broken to latest build reports. Fixes #274. 2011-10-18 11:57:03 -07:00
John Benediktsson cf54ce8e42 math.functions: when gcd is inlined, "gcd nip" is almost as good as "gcd*". 2011-10-18 10:30:39 -07:00
Doug Coleman 5771cafcee Try without-limits in mason.report. Fixes #275. 2011-10-18 00:52:46 -07:00
Joe Groff 4d224b552f io: stream-read-into and stream-read-partial-into
Safe user-facing wrappers for stream-read-unsafe.
2011-10-17 21:23:08 -07:00
Joe Groff 09f55f82fa clean up forwarding stream-read-partial-unsafe
Now that "io" provides a method on object for stream-read-partial-unsafe that forwards to stream-read-unsafe, individual stream class that don't implement partial reads don't need to provide such a method themselves.
2011-10-17 21:23:06 -07:00
Joe Groff 8322ff9452 io.streams.peek: test with memory-stream
Some binary stream types use memcpy to implement read-unsafe, while element-agnostic wrapper streams have to use copy. Make sure peek-stream works with both when it has to divide a read between the peek buffer and the underlying buffer (it does).
2011-10-17 21:23:06 -07:00
Joe Groff 6f12322bda kill noncopying-reader mixin, stream-read generic
Now that all streams have been updated to implement the stream-read-unsafe protocol, take out the noncopying-reader shim. Turn stream-read and stream-read-partial into plain functions over the -unsafe generics.
2011-10-17 21:23:05 -07:00
Joe Groff 6828eeb27e io.streams.peek: read-unsafe protocol 2011-10-17 21:23:04 -07:00
Joe Groff 3f15127ead mongodb.gridfs: move to unmaintained
It has no tests and nothing appears to use it, so I don't want to mess with it to make it implement the stream-read-unsafe interface.
2011-10-17 21:23:01 -07:00
Joe Groff d54824cb40 io: nab io.streams.peek's stream-exemplar-growable
Rename stream-element-examplar to stream-exemplar to match.
2011-10-17 21:23:01 -07:00
John Benediktsson ac98269f53 math.functions: faster gcd means faster ratios. 2011-10-17 20:36:28 -07:00
John Benediktsson d947553df8 benchmarks: tcp/udp should take less time for now (until it gets sped up). 2011-10-17 17:47:28 -07:00
Doug Coleman 7ffd51c485 A little ambitious on the tcp-echo2 benchmark. Reduce 20mil to 20k 2011-10-17 16:47:21 -07:00
John Benediktsson bd0278cf63 lint: enable checks for quotations of length 2, and add some ignores. 2011-10-17 11:30:01 -07:00
Doug Coleman 5836634922 Rename echo benchmark to udp-echo. Rename file-server benchmark to tcp-echo. Add more benchmarks for different loads. 2011-10-17 10:25:28 -07:00
Doug Coleman 98979fc51c Remove initializers from extra/constructors, add C:-like form that requires a stack effect 2011-10-17 10:25:27 -07:00
Doug Coleman f21fee3b73 Rename complete-effect to scan-effect 2011-10-17 10:25:27 -07:00
John Benediktsson 54e075c76c lint: fix unit tests. 2011-10-17 10:15:48 -07:00
John Benediktsson 3582e9c168 More lint fixes. 2011-10-16 21:23:21 -07:00
John Benediktsson 4919339721 project-euler.150: 20% faster. 2011-10-16 21:21:07 -07:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson 45aeea52ce lint: filter a bit better. 2011-10-16 19:32:16 -07:00
John Benediktsson c8732657b7 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
John Benediktsson ea4240cea0 lint: cleanup, deep compare, print clickable words. 2011-10-16 13:01:36 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson df2000d8e7 random.blum-blum-shub: fix tests for recent random-integer change. 2011-10-15 10:39:16 -07:00
John Benediktsson d773d99de5 benchmark.splay: adding a splay-tree benchmark. 2011-10-14 18:10:49 -07:00
John Benediktsson ce1d69aa0a trees.splay: fix delete-at. 2011-10-14 17:52:24 -07:00
John Benediktsson dc06efe2a4 webapps.mason: redirect index to dashboard. Fix #178. 2011-10-14 15:43:38 -07:00
John Benediktsson 4fb66c0f05 brainfuck: cleanup. 2011-10-14 13:53:55 -07:00
John Benediktsson d61de12011 Cleanup more lint warnings. 2011-10-14 12:31:46 -07:00
John Benediktsson 378786599d Cleanup lint warnings. 2011-10-14 11:47:24 -07:00
Doug Coleman e563824cd2 Don't report aliases as having a duplicate word definition as the word they alias in lint. 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
Doug Coleman 6553510494 Remove bogus test in lint 2011-10-14 09:40:36 -07:00
Doug Coleman 6586b97128 Revive the lint tool 2011-10-14 01:39:46 -07:00
John Benediktsson 0965d9be41 webapps.help: remove frames. Fixes #242. 2011-10-13 22:09: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 928536be2a cpu.8080.emulator: use get/set-global. 2011-10-13 17:11:23 -07:00
John Benediktsson 1987deb359 Fix M: stack effects. 2011-10-13 16:41:17 -07:00
John Benediktsson a80d176720 readline: change to create alien at run-time. Fixes #254. 2011-10-13 13:24:56 -07:00
John Benediktsson 3207244c60 sequences: define ?first and ?second. 2011-10-13 12:53:46 -07:00
John Benediktsson 557f8355de webapps.benchmark: better main name. 2011-10-12 12:35:34 -07:00
Doug Coleman 4cbbfe82aa benchmark.file-server hit the array-capacity limit, so lower the #bytes sent by one and add a #times parameter 2011-10-12 10:23:16 -07:00
Doug Coleman c73724d273 Remove *timesinkbsd from webapps.mason grids 2011-10-12 09:48:23 -07:00
Doug Coleman 1df7a40984 Add 2/4/8le>, 2/4/8be> -- 30% faster on the 8-byte versions, slightly less faster on the others. 2011-10-12 09:48:23 -07:00
Doug Coleman 1783b3b72e Rename benchmarks -> benchmark 2011-10-12 03:28:25 -07:00
Doug Coleman ac9d4577e0 mason.release.archive was testing strings against symbols for choosing the archival method and file extension. This might break win32/64 or it might speed things up. 2011-10-12 01:33:58 -07:00
Doug Coleman ee08db3e44 Fix test failure for random number speedup from using be>. 2011-10-12 01:26:56 -07:00
Doug Coleman 49b0ebf056 Simple network benchmark for sending large file between a server/client. 2011-10-12 01:22:03 -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 250e528209 Progress bars for long-running operations that yield. 2011-10-11 17:56:28 -07:00
Doug Coleman d834d9bfa4 slots.syntax: fix example. 2011-10-10 22:00:40 -07:00
Doug Coleman 4cece22c43 Add copy-slots{ word to slots.syntax. Alias slots{ to get{ and set-slots{ to set{, same for slots[ and set-slots[. 2011-10-10 18:25:48 -07:00
Doug Coleman 97fa79d7fa Update serial library so it's usable. 2011-10-08 11:38:43 -07:00
Doug Coleman 95ef4d90a9 I got 99 bottles and a bitch ain't one. 2011-10-07 23:48:13 -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
John Benediktsson 85e1ad0e00 webapps.help: changing <alloy> to only apply to search responder (for performance). 2011-10-03 22:16:36 -07:00
Doug Coleman 4994483be4 Fix abuse of spread in gdbm 2011-10-02 21:53:32 -07:00
John Benediktsson 8579a71efa benchmark.ant: switching to tuples now that they are fast. 2011-10-02 15:30:25 -07:00
Doug Coleman 76580da5d5 Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
2011-09-29 11:28:28 -07:00
John Benediktsson 12cfe67f20 webaps.help: display errors in red, add a main method. 2011-09-27 10:20:15 -07:00
John Benediktsson 2659b23115 websites.concatenative: Wrap <help-webapp> in an <alloy> to display form errors. Fixes #196. 2011-09-27 10:17:54 -07:00
John Benediktsson fe31c534ea gpu.state: use qualified for all c-types. 2011-09-26 20:12:10 -07:00
John Benediktsson 4f42c72012 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Doug Coleman eead1f0487 Fix the using for peek streams tests. 2011-09-25 22:54:53 -07:00
Doug Coleman c5f1651567 Peekable streams wrapper 2011-09-25 19:32:34 -07:00
Doug Coleman 673d280fc5 Vocabulary to reduce numbers to more convenient representations 2011-09-25 19:32:33 -07:00
John Benediktsson 5cf0652db4 benchmark.ant: needed a MAIN. 2011-09-25 19:08:56 -07:00
John Benediktsson c7e3238149 benchmark.ant: fix vocab name and using. 2011-09-25 15:33:49 -07:00
John Benediktsson 6f72e5a638 benchmark.ant: adding the "ant puzzle" benchmark. See #153. 2011-09-25 12:25:52 -07:00
Doug Coleman 22f1545ec5 Graphviz now unix only 2011-09-24 21:10:08 -07:00
Joe Groff 81b12adcad math.blas, alien.fortran: move to unmaintained cuz I'm getting too old for this shit. closes #171 2011-09-24 20:59:21 -07:00
Doug Coleman b2176f98a7 Use gvplugin_list instead of gvPluginList
Make graphviz unix only for several reasons:
1) Win32 graphviz doesn't have the gvplugin_list() exported and we don't have a word to check if an ffi call exists before attempting to call it so we are unable to find a two-state solution with both gvplugin_list and gvPluginList
2) Compiling the Graphviz Project on Windows is extremely broken under Cygwin, MinGW and Visual Studio 2008 and fails to compile without major changes and still has disabled projects and thousands of warnings/errors. Th HOWTO on their website is outdated on all counts and the maintainer has not replied to my email asking for help. I do not have time to be a Graphviz maintainer myself.
3) When I did manage to compile it on Windows, none of the engines are avaialable to the dlls we load so the compiled Graphviz has no features except symbol exports. The same is true for the binary package--we do not have access to the
4) There is no win64 binary of Graphviz on their website and compiling it would likely result in an unusable set of dlls as per above
2011-09-24 19:00:17 -05:00
John Benediktsson f6b6e17b00 alien.data: removing unused (and broken?) "require-c-array". 2011-09-23 13:15:09 -07:00
John Benediktsson 7103dfab6b infix: using "if-empty" makes it cleaner. 2011-09-21 19:31:26 -07:00
John Benediktsson 08aa100eb7 mongodb: using "if-empty" makes it cleaner. 2011-09-21 19:31:08 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Slava Pestov 867b5a1178 Move javascriptcore to unmaintained. Fixes #130 2011-09-19 00:12:36 -07:00
Doug Coleman bf2a96e9e0 Remove Windows CE from core/ basis/ and build-support/
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84.
2011-09-18 23:19:06 -05:00
John Benediktsson e422187be1 fuel.eval: some minor cleanup. 2011-09-18 20:35:16 -07:00
John Benediktsson 2a72c5c34d fuel.eval: using a local fuel-eval-error symbol. Fixes #142. 2011-09-18 20:19:49 -07:00
Joe Groff db324a65ee new vocab slots.macros: macro interface to slot accessors, as discussed in #134 2011-09-18 17:33:53 -07:00
Doug Coleman 7e4aa6f67f Graphviz's gvc.dll doesn't export gvplugin_list() on Windows, so call gvPluginList() instead. This bug has been reported to the Windows Graphviz maintainer, so we can potentially go back to calling gvplugin_list() someday. 2011-09-16 01:25:45 -05:00
Slava Pestov 7507196a98 mason.release.tidy: one last fix for tests 2011-09-14 20:00:15 -07:00
Slava Pestov 4d30021d77 mason.release.tidy: add unit tests and ensure it works 2011-09-13 23:39:16 -07:00
Slava Pestov 0ed9112f75 mason.release.tidy: logic for blowing away Factor.app on non-Mac platforms was wrong; fixes #125 2011-09-13 20:22:24 -07:00
Doug Coleman 900afdd6a8 Make parser in mason.test noisy so we get real output.
Fixes #126.
2011-09-13 19:52:32 -05:00
Doug Coleman f41fcc937e Forgot QUALIFIED: math in images.png. 2011-09-13 15:45:47 -05:00
Doug Coleman cb1ed13a37 Generate reference .figs for all of pngsuite
Make directory for bad pngs from libpng
2011-09-13 12:11:04 -05:00
Doug Coleman 5ea02f4798 PNG library should reverse filter on entire bytes
Add word to test that some pngs fail to load
2011-09-13 12:10:18 -05:00