Commit Graph

9878 Commits (c5c74aa59c9436704c4eefe01a14b3560447a1b0)

Author SHA1 Message Date
Doug Coleman 552e35ea97 lint: remove make-assoc 2012-07-19 17:41:55 -07:00
Doug Coleman 1a0ed4ee6b koszul: Remove make-assoc 2012-07-19 17:41:46 -07:00
John Benediktsson 2e86fd6af0 benchmark: rename main methods to be consistent. 2012-07-19 17:36:42 -07:00
John Benediktsson 0cfc78c37c "filter empty?" is "any? not". 2012-07-19 16:33:01 -07:00
John Benediktsson 16b046af76 more cleanup of with-scope. 2012-07-19 15:11:33 -07:00
John Benediktsson 3ea37a93eb more H{ } make fixes. 2012-07-19 14:38:22 -07:00
John Benediktsson 20613bc4e1 google.translate: fix using. 2012-07-19 13:56:13 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 90d0951ada more use of H{ } make. 2012-07-19 11:24:45 -07:00
John Benediktsson 559b5bfa5b using the new H{ } make. 2012-07-19 09:50:09 -07:00
John Benediktsson e8c13ebe40 benchmark.fib: give each benchmark a unique main method name. 2012-07-19 08:18:18 -07:00
Doug Coleman 6f2968b404 with-variables: Monads has its own bind word. missed one bind in koszul. 2012-07-19 01:52:22 -07:00
Doug Coleman 42f4dc36b2 namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
John Benediktsson 60927a7925 sequences.extras: adding ?trim. 2012-07-18 11:41:23 -07:00
John Benediktsson 126fbd45a7 benchmark.regexp: simple regexp matching benchmark. 2012-07-17 20:35:39 -07:00
John Benediktsson 667a00a69c benchmark.memoize: add zero arg memoized function. 2012-07-17 17:49:09 -07:00
John Benediktsson 72de9badda benchmark.memoize: adding a benchmark for memoization. 2012-07-17 16:02:00 -07:00
John Benediktsson 4eeafea8be some cleanup. 2012-07-17 08:53:40 -07:00
John Benediktsson 2f325e4fee using if-zero in even more places. 2012-07-16 19:38:49 -07:00
John Benediktsson 5cc30f46f5 using if-zero in more places. 2012-07-16 15:45:21 -07:00
John Benediktsson 3bd6610a9d sequences.extras: adding a trim-as word. 2012-07-15 09:47:44 -07:00
John Benediktsson aa2a166a53 sequences.extras: adding a contains? (a faster sequence intersects?). 2012-07-15 09:17:31 -07:00
John Benediktsson 6dc49d6014 sequences.extras: bounds-check in rotate! and do exchange-unsafe. 2012-07-14 15:12:18 -07:00
John Benediktsson af4d839a23 benchmark.csv: adding a benchmark for csv. 2012-07-13 22:20:34 -07:00
John Benediktsson 4f260ab9bd "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00
John Benediktsson d5ef0e046a assocs.extras: adding (in-place) substitute!. 2012-07-13 19:00:49 -07:00
John Benediktsson e8024370f7 benchmark.binary-search: remove print in favor of assert. 2012-07-13 16:11:01 -07:00
John Benediktsson 8b6e3eab62 benchmark.dlists: adding a dlist benchmark. 2012-07-13 15:15:26 -07:00
John Benediktsson 2d3f46acf4 assocs.extras: fixing stack effect, inline words. 2012-07-11 22:15:44 -07:00
John Benediktsson c3a6eab9ca assocs.extras: adding a "zip-as" that is faster than "zip >hashtable". 2012-07-11 20:37:12 -07:00
John Benediktsson 3928e5cb26 benchmark.json: adding a json benchmark. 2012-07-11 18:43:22 -07:00
John Benediktsson 18993420f2 sequences.repeating: minor style cleanup. 2012-07-10 17:03:13 -07:00
John Benediktsson f932ca2090 sequences.repeating: rename repeating to cycle and add repeat 2012-07-10 16:47:33 -07:00
John Benediktsson 53c43429de graphviz.ffi: use unless-zero. 2012-06-22 08:36:56 -07:00
John Benediktsson 69d11c08e0 math.text.french: removing duplicate if-zero definition. 2012-06-22 08:36:37 -07:00
John Benediktsson 17b467a58e fuel.help: fix use of lookup-article. 2012-06-21 11:53:46 -07:00
Doug Coleman de9997dea3 issue #358: fix images.gif 2012-06-21 08:35:43 -07:00
Doug Coleman c97b2c5190 issue #358: annotation -> lookup-annotation 2012-06-21 08:35:42 -07:00
Doug Coleman 2b35edb595 issue #358: Make a word lookup-article so that article is just a tuple. 2012-06-21 08:35:38 -07:00
Doug Coleman eccf5a82ae io.files.info.windows: Fix file-systems word in two ways. First, don't
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson 781c60cfe7 24-game: add division operation. 2012-06-20 17:55:11 -07:00
John Benediktsson 2dfa80c71e math.blas.config: deal with OS X libblas ABI mess
x86-64 libblas uses different ABIs on 10.5 and 10.7, and is broken on 10.6.
Modified from patch by Joe Groff.
2012-06-20 17:17:49 -07:00
John Benediktsson 36efd95d12 alien.fortran: add a bad-fortran-abi object
Use this to represent an invalid Fortran library ABI with information about how to fix it.
Modified from patch by Joe Groff.
2012-06-20 17:16:50 -07:00
Doug Coleman 9ddef268e1 24-game: Fix the docs. 2012-06-20 00:37:09 -07:00
John Benediktsson 36c38b7c86 24-game: flush output, add some tests. 2012-06-19 23:11:10 -07:00
John Benediktsson 81e5c32225 24-game: simplify and cleanup. 2012-06-19 23:09:56 -07:00
John Benediktsson 314dc05ab0 math.extras: adding nonzero. 2012-06-19 14:23:00 -07:00
John Benediktsson 03cd8c288d benchmark.completion: adding a benchmark of tools.completion. 2012-06-19 14:09:38 -07:00
John Benediktsson b958ad4833 mason.docs: make docs archive have relative paths. 2012-06-19 10:08:14 -07:00
John Benediktsson 1c4a169f32 websites.factorcode: remove trailing semi-colon. 2012-06-18 17:45:05 -07:00
John Benediktsson 0e66aa5d9b websites.factorcode: adding a happy birthday example. 2012-06-18 17:43:32 -07:00
John Benediktsson 752b5c6887 io.streams.memory: adding with-memory-reader. 2012-06-18 17:24:21 -07:00
Slava Pestov 7a10a8eb0d macosx: Remove /opt/local prefix on some mac ffi libs. 2012-06-18 17:01:29 -07:00
John Benediktsson d1f3b326e5 math: using if-zero in more places. 2012-06-18 14:32:39 -07:00
John Benediktsson 6f1f6767bd wake-on-lan: adding support for Wake-on-LAN protocol. 2012-06-18 12:47:21 -07:00
John Benediktsson 4c888b3548 webapps.help: fixing location of generated html docs. 2012-06-18 12:32:44 -07:00
John Benediktsson 1778b1debd mason.docs: fix making and uploading of docs archive. 2012-06-18 12:26:02 -07:00
Doug Coleman d23aa5b125 calendar.holidays.us: Donuts too often 2012-06-01 18:03:42 -07:00
Doug Coleman a2d2bfc9d1 calendar.holidays.us: Today is National Donut Day. 2012-06-01 17:19:45 -07:00
John Benediktsson 3c775f7bea benchmark.busy-loop: make sure fixnum math on 32-bit. 2012-06-01 16:26:46 -07:00
John Benediktsson 53b77247f0 benchmark.busy-loop: adding a busy-loop "control" benchmark. 2012-06-01 16:18:29 -07:00
John Benediktsson 65a79dbe4d fastcgi: removing dependency on unix-only. 2012-06-01 14:34:36 -07:00
John Benediktsson e07b002a50 sequences.extras: adding sift-as and harvest-as. 2012-05-31 11:01:16 -07:00
John Benediktsson d412364483 sequences.extras: even simpler round-robin. 2012-05-31 10:46:42 -07:00
John Benediktsson 58185a06ce sequences.extras: simpler round-robin. 2012-05-31 08:17:08 -07:00
John Benediktsson 5de9ec1b1f sequences.extras: adding round-robin. 2012-05-30 17:50:00 -07:00
John Benediktsson 180ad0aabf fix some tests broken by the prepend change. 2012-05-29 16:58:58 -07:00
John Benediktsson fe4be254da sequences.extras: move min-by/max-by to math.compare. 2012-05-19 11:26:01 -07:00
John Benediktsson 2bc8016d40 assocs.extras: more tests for deep-at. 2012-05-17 09:40:43 -07:00
John Benediktsson 9230acbbb8 assocs.extras: adding deep-at. 2012-05-14 17:04:52 -07:00
John Benediktsson 6f5e1f16e0 sequences.extras: adding supremum-by and infimum-by that call the "map" quot once per element. 2012-05-14 16:44:07 -07:00
John Benediktsson d035d1abfc sequences.extras: adding each-from and reduce-from. 2012-05-14 16:43:42 -07:00
John Benediktsson e90732f5e7 sequences.extras: adding test for insert-sorted. 2012-05-14 16:12:35 -07:00
John Benediktsson bab0f663ae math.similarity: fix tests, not sure this is the correct definition. 2012-05-08 08:05:31 -07:00
Doug Coleman f03a7f10bf sequences.extra: Fix min-by and max-by.
maximum and minimum run 2x as many calls to the quotation as are actually necessary; fix this eventually.
2012-05-07 15:04:37 -07:00
John Benediktsson f00b8c8e55 Revert "Clean up smalltalk grammar"
This reverts commit 578bb98f21.
2012-05-04 18:20:04 -07:00
Slava Pestov 491bb6aa4c Clean up smalltalk grammar 2012-05-04 17:23:32 -07:00
John Benediktsson a2f8735c9a math.extras: adding moving-median. 2012-05-04 14:23:15 -07:00
John Benediktsson cbf022454b math.finance: adding some tests. 2012-05-04 10:06:24 -07:00
John Benediktsson 0a187f6609 math.finance: some fixes to dema, gdema, and tema. 2012-05-04 09:40:04 -07:00
John Benediktsson 3841bbb891 math.extras: adding moving-average and exponential-moving-average words. 2012-05-04 09:04:58 -07:00
Doug Coleman 3c29b4c131 math.blas, alien.fortran: Back from beyond the grave. 2012-05-04 09:05:43 -07:00
John Benediktsson 7b01763975 math.extras: adding jacobi and legendere symbols. 2012-05-04 08:57:09 -07:00
Doug Coleman 3507b9bad7 classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
John Benediktsson 7fe0e95cd4 math.finance: adding dema, gdema, and tema. 2012-05-03 16:31:04 -07:00
John Benediktsson 3c3ad89a22 math.distances: adding correlation-distance. 2012-05-03 15:52:28 -07:00
John Benediktsson d3d109aa3e math.distances: adding a couple more distance functions. 2012-05-03 15:42:12 -07:00
John Benediktsson af8f23a78c math.distances: adding some distance functions. 2012-05-03 13:38:59 -07:00
John Benediktsson ffeaf448a7 sequences.extras: adding 2map-sum and 2count. 2012-05-03 11:31:38 -07:00
John Benediktsson 6b8d802985 math.similarity: adding a few similarity metrics. 2012-05-03 10:57:30 -07:00
John Benediktsson a9a0080ce3 sequences.extras: adding "filter-map". 2012-05-02 11:14:10 -07:00
Doug Coleman f6398365bd math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things. 2012-05-02 10:22:23 -07:00
John Benediktsson ccf6a27191 ctags.etags: remove unnecessary test. 2012-04-27 12:05:51 -07:00
John Benediktsson 3ace73ec00 assocs.extras: adding assoc-harvest and assoc-sift. 2012-04-27 11:39:20 -07:00
John Benediktsson 7bba1972a1 project-euler: fix shadowing of permutations?. 2012-04-26 16:58:09 -07:00
John Benediktsson 2ec0bf3037 sequences.extras: fixing map-concat to return type of first mapped value. 2012-04-26 15:07:39 -07:00
John Benediktsson 40e79d4b56 sequences.extras: faster longest-subseq, cleanup other words. 2012-04-25 16:30:08 -07:00
John Benediktsson a976e31f39 sequences.extras: adding map-sift and map-harvest. 2012-04-25 15:58:18 -07:00
John Benediktsson 9bc6e29506 sequences.extras: adding map-filter. 2012-04-25 15:50:35 -07:00
John Benediktsson 61b3c26e1b sequences.extras: adding map-concat. 2012-04-25 13:28:56 -07:00
John Benediktsson f3e1dc5b98 Use "map-sum" instead of "map sum". 2012-04-25 13:18:21 -07:00
John Benediktsson 6f89c1824d change to in-place reverse. 2012-04-24 18:51:46 -07:00
John Benediktsson 817b45ee03 math.combinatorics: minor performance improvements. 2012-04-24 18:42:34 -07:00
John Benediktsson fc50417e43 benchmark.combinatorics: adding a combinatorics benchmark. 2012-04-24 17:29:26 -07:00
John Benediktsson 476781cdd9 sequences.extras: adding rotate and rotate! words. 2012-04-24 16:59:17 -07:00
John Benediktsson 0650495414 math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words. 2012-04-20 20:09:54 -07:00
John Benediktsson 60b83c7241 benchmark.make: use % (push-all). 2012-04-20 10:51:51 -07:00
John Benediktsson 7f7cb5cdf9 benchmark.make: adding a simple make benchmark. 2012-04-20 10:41:50 -07:00
John Benediktsson 5b83dc2e90 sequences.extras: adding slice-when (non-destructive split-when). 2012-04-19 16:41:44 -07:00
John Benediktsson 449814a387 math.primes.twins: calculating twin primes. 2012-04-19 15:14:31 -07:00
John Benediktsson 8c1165cac1 cleanup some lint warnings. 2012-04-18 17:46:01 -07:00
Doug Coleman 161cd8222c sequences.extras: Experimenting with collapse, compact words. Add even/odd-indices words. 2012-04-18 15:18:54 -07:00
John Benediktsson 8e0df4df9c 24-game: remove broken "spin" definition. 2012-04-18 12:11:41 -07:00
John Benediktsson ef87f81022 sequences.extras: adding a version of filter that uses an elements index. 2012-04-18 10:47:25 -07:00
John Benediktsson 17d9b1ba40 sequences.extras: faster minimum/maximum. 2012-04-16 15:09:44 -07:00
Joe Groff 5948f53725 change temp-file to cache-file where appropriate 2012-04-16 11:55:27 -07:00
John Benediktsson 0c16b7cc1a benchmark.hash-sets: adding a benchmark for hash-sets. 2012-04-16 10:57:57 -07:00
John Benediktsson cdd4de2cb3 sequences.extras: adding change-nths word. 2012-04-15 10:34:23 -07:00
John Benediktsson 33ae12ed1e sequences.extras: adding pad-longest. 2012-04-15 10:32:45 -07:00
John Benediktsson c6bd2313ba sequences.extras: adding all-subseqs, each-subseq, longest-subseq, and generalized minimum/maximum words. 2012-04-15 10:31:06 -07:00
Doug Coleman 6686cae347 random: Add random-unit word. 1 random-unit - is the same distribution, as Joe pointed out, so remove that. Use random-unit in librarie. 2012-03-30 18:04:45 -07:00
Joe Groff 64a746be73 webbrowser: move to basis for tools.deploy.unix 2012-03-26 10:18:10 -07:00
John Benediktsson 442dae75ea wolfram-alpha: display error if query unsuccessful. 2012-03-07 17:55:23 -08:00
Doug Coleman 683c9c2475 units.imperial: How much is a liter? About eight gills. 2012-03-04 19:43:27 -08:00
Joe Groff 9ee314b906 audio.gadget: create/dispose clip on graft/ungraft 2012-02-22 15:46:45 -08:00
Joe Groff 273b5115bf add content-gadget hook for inspector
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff ff990717f8 audio.gadget: printable audio play button 2012-02-20 23:49:01 -08:00
Guillermo Alcantara 63657a07c8 Add the banner. It should give the instructions before asking for a guess. 2012-02-09 08:13:25 -08:00
Slava Pestov b994848d5f gdbm.ffi: fix library name on Linux 2012-01-02 22:44:43 -06:00
Doug Coleman d2a42ec4e2 extra:math.erato: Remove txt files; vocab was moved to basis. 2012-01-02 12:14:03 -08:00
Joe Groff 50dced41d4 fastcgi: er, linux + macosx = unix 2011-12-16 16:06:46 -08:00
Joe Groff 64920e2802 fastcgi: only load on unix until #454 is resolved 2011-12-16 16:02:53 -08:00
Joe Groff 9d5e676b26 Revert "pubsubhubbub support by samueltardieu". Fixes #455.
This reverts commit e3483c9c03.
2011-12-14 13:13:18 -08:00
Joe Groff 1bb89d0fd9 fastcgi: fix load and compile errors 2011-11-28 18:56:00 -08:00
Joe Groff 9c989b6774 benchmark.regex-dna: reduce IO deploy level again 2011-11-28 18:55:48 -08:00
Doug Coleman 4dc12f1660 code-arrays: don't ask, don't tell 2011-11-28 10:00:39 -08:00
John Benediktsson 1eaea88912 pubsubhubbub support by samueltardieu. Fixes #148. 2011-11-28 09:57:03 -08:00
Brennan Cheung 3356a3a3bb fastcgi alpha preview 2011-11-28 09:50:57 -08:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman fad4a28d70 multi-methods: predicate-quot -> predicate-def 2011-11-22 02:12:01 -08:00
Doug Coleman 067f9830ef classes.union: Define a maybe: word that makes a tuple that acts as an anonymous union for a type and f. Updated all the places we define UNION: ?foo foo POSTPONE: f ;. Fixes #416 and lots of headaches. 2011-11-22 01:56:13 -08:00
Doug Coleman cb119568d3 benchmark: remove debug code 2011-11-21 21:54:09 -08:00
Doug Coleman 857fc50fff benchmark: Add a way to run a profile for each benchmark vocabulary. 2011-11-21 13:42:49 -08:00
Joe Groff 72feb14521 webbrowser.windows: USING 2011-11-16 20:33:36 -08:00
Joe Groff 30bc92a78c webbrowser.windows: fix loading 2011-11-15 20:05:57 -08:00
John Benediktsson 5d266ff4b7 variables: fix for recent initial-value change. 2011-11-14 10:25:28 -08:00
Joe Groff 5f735e4fcc images.viewer.prettyprint: mark not loaded/tested
Prevent mason from loading it and complaining that it can't write gadgets to a text file.
2011-11-13 23:09:37 -08:00
John Benediktsson c870b139b0 webbrowser.linux: switching to xdg-open. 2011-11-13 16:49:25 -08:00
John Benediktsson f98a6a7987 webbrowser: changing open-url to use open-file everywhere. 2011-11-13 16:32:20 -08:00
Joe Groff d1786adfe4 new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
Slava Pestov b9a358a1df classes.struct.vectored: update for recent slots change 2011-11-12 22:41:08 -08:00
Slava Pestov 8783dda864 variants: update for recent slots change 2011-11-12 22:40:55 -08:00
John Benediktsson e10e019f9f webbrowser: open url's in your webbrowser. 2011-11-12 16:18:52 -08:00
Doug Coleman 1d84f5e190 benchmark.udp-echo0: Fix the memory leak. 2011-11-11 17:58:45 -08:00
Doug Coleman e4481b846b lint: Add a word to find redundant word props like 'inline [flushable|foldable]' 2011-11-06 19:33:07 -08:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
Doug Coleman cb84fefc37 webapps.help: Load the navbar from a Factor word instead of hardcoding it into the template so that the glossary link works. 2011-11-06 12:16:46 -08:00
Doug Coleman ff0784ae8e webapps.help: Change webapps.help search from post to get. Fixes #343. 2011-11-05 00:07:16 -07:00
Doug Coleman cb14adb1c2 Fix bootstrap. Add missing using on io.serial.linux. Fixes #351. 2011-11-04 06:08:02 -07:00
Doug Coleman e1c123e157 Move io.serial.unix to io.serial.linux, add platforms files. Move termios into io.serial.linux.ffi vocab. 2011-11-03 16:26:34 -07:00
Joe Groff bbede53f78 mason.release.branch: fix test 2011-11-03 15:40:24 -07:00
Doug Coleman 289cba7fb5 Add back the using for nested-comments. Wo shi ben dan... 2011-11-03 11:47:57 -07:00
John Benediktsson ddb06ab6cb webapp.help: making fonts more consistent. See #310. 2011-11-03 08:30:44 -07:00
Joe Groff 8cf18d1a82 remove BSD,solaris,etc. misc platform support code 2011-11-02 17:13:51 -07:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Doug Coleman 3b92ff881c Use +new-group+ in all processes launched in mason. 2011-10-30 20:47:16 -07:00
Slava Pestov 0d02c16d14 mason.git: cleanup 2011-10-28 21:53:39 -07:00
John Benediktsson a8c481bee3 synth: adding some tests. 2011-10-27 09:47:36 -07:00
John Benediktsson a789712f48 synth: fix code that depended on iterable numbers. 2011-10-26 15:14:39 -07:00
Doug Coleman 7b6f27eda6 Add a lint check for swap .. swap that can be replaced by dip. Clean up the cases it finds. 2011-10-26 13:01:04 -07:00
John Benediktsson f896a4d4ae brainfuck: minor cleanup. 2011-10-26 10:07:04 -07:00
Doug Coleman 4ebe5218c7 Update Windows for word renames, fix lint errors 2011-10-24 21:50:02 -07:00
Doug Coleman 51c033a1f6 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -07:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
Doug Coleman 0d059e0f19 Found a few more places to use lookup-c-type 2011-10-24 15:58:40 -07:00
Doug Coleman 2ecd513130 Factor out ``no-roots no-prefixes'' into its own word. Add load-root, load-from-root, vocabs-in-root and implement load in terms of load-from-root.
Add error checking for append-vocab-dir and (child-vocabs) in case someone tries to pass them the wrong parameters.
Rename: vocab-dir+ to append-vocab-dir
Document load-from-root and load-root
2011-10-23 19:59:01 -05:00
Doug Coleman 93d6807d33 Revert "Try without-limits in mason.report. Fixes #275."
This reverts commit 1771f18998.
2011-10-21 15:34:08 -05:00
John Benediktsson 5a943b32c4 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
John Benediktsson beb5b9bf64 hash-sets: separate <hash-set> and >hash-set to match other containers. Fixes #154. 2011-10-19 11:35:25 -07:00
John Benediktsson f4a6e10818 More cleanup of unused stuff. 2011-10-19 11:01:16 -07:00
John Benediktsson 0816b8667c benchmark.splay: fix IN:. 2011-10-19 09:42:12 -07:00
John Benediktsson 3467ef76a9 webapps.mason: remove ugly border. 2011-10-19 09:42:11 -07:00
Doug Coleman feeea08023 Remove really-delete-tree in favor of setting the file attributes to normal
on Windows deletes.
2011-10-19 02:28:52 -07:00
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