Commit Graph

9831 Commits (320efb8bc7cf702089829a24c21eef6da6ff19b9)

Author SHA1 Message Date
John Benediktsson dfe06d3070 sorting.extras: adding 'argsort'. 2012-08-06 10:59:40 -07:00
John Benediktsson 04794fe715 sequences.extras: adding "none?" and "one?". 2012-08-06 08:52:45 -07:00
John Benediktsson 316fdf0461 lint: disabling tuck test. 2012-08-06 07:57:35 -07:00
otoburb f983458f8a extra/lint: Removed dup -rot -> tuck entry from manual-substitution table
tuck is deprecated. load-all shows a warning in the UI Listener as per #347
2012-08-05 20:32:58 -07:00
John Benediktsson 5ca6fb95a7 rosetta-code.image-noise: fix vocab name. 2012-08-04 17:34:59 -07:00
Jon Harper cc621ee5ee rosetta-code.y-combinator: add ackerman functions to demonstrate several inputs 2012-08-04 17:32:33 -07:00
Jon Harper e980e26f70 cleanup: with fry, _ call is @ 2012-08-04 17:32:33 -07:00
Jon Harper 87aeec7c63 rosetta-code.y-combinator use inline instead of call( x -- x ) 2012-08-04 17:32:33 -07:00
Jon Harper 53aa8e1458 rosetta-code.y-combinator, fix IN: 2012-08-04 17:32:33 -07:00
Jon Harper 858e9210d8 noise-ui, higher fps (x3) 2012-08-04 17:32:33 -07:00
Jon Harper 8030432541 1string string>number -> digit> 2012-08-04 17:32:33 -07:00
John Benediktsson 4382851e13 benchmark.find-pi: adding the bignum ratio find-pi benchmark. 2012-08-04 10:06:40 -07:00
John Benediktsson bd957cb3b4 rosetta-code: adding implementations of rosettacode.org solutions. 2012-08-03 15:17:50 -07:00
John Benediktsson 49448f0257 echo-server: adding a simple echo server. 2012-08-03 15:17:14 -07:00
Doug Coleman 8c7cc0e02c noise-ui: move to rosetta.image-noise 2012-08-03 15:02:32 -07:00
Doug Coleman 16de2794de mason.common: Don't put a limit on prettyprinter output. Fixes #607. 2012-08-03 14:18:59 -07:00
Doug Coleman f52195b0c8 noise-ui: Add a MAIN: 2012-08-03 12:29:35 -07:00
John Benediktsson a4a62524b3 benchmark.wrap: adding a wrap benchmark. 2012-08-03 09:37:01 -07:00
Doug Coleman d78f90d7c7 noise-ui: Initial checkin. Slightly modified from http://rosettacode.org/wiki/Image_noise#Factor 2012-08-01 11:08:00 -07:00
John Benediktsson a61ea18ad7 benchmark.yield: testing lots of yields. 2012-08-01 10:51:37 -07:00
Doug Coleman 2b03973a7b freetype: Disable on mac. Fixes #588. 2012-07-31 12:00:21 -07:00
Doug Coleman 9944ffb645 clutter: load gtk first. Fixes #598. 2012-07-31 12:00:21 -07:00
John Benediktsson 60e3fc9341 math.extras: adding moving sum/supremum/infimum. 2012-07-30 16:16:10 -07:00
John Benediktsson 934b307ba2 make some predicates return t/f instead of something/f. 2012-07-29 10:52:46 -07:00
John Benediktsson 832e3bc53e benchmark.dispatch4: split into two benchmarks. 2012-07-27 15:50:12 -07:00
John Benediktsson 2d5a141ef5 benchmark.sum-file: removing dependency on random. 2012-07-27 15:44:38 -07:00
John Benediktsson 916c495337 tools.scaffold: rename scaffold-help to scaffold-docs. 2012-07-27 15:24:30 -07:00
John Benediktsson 01abb351b5 math.extras: more maths functions. 2012-07-27 12:44:51 -07:00
John Benediktsson fbd79553e0 io.streams.256color: use "\e" escape. 2012-07-26 19:15:27 -07:00
John Benediktsson 180cf219bc sequences.extras: adding "unsurround" word. 2012-07-24 17:24:58 -07:00
John Benediktsson eddc0326b7 xkcd: rename private words. 2012-07-24 16:00:17 -07:00
John Benediktsson 5a323780d8 xkcd: having XKCD in a terminal - priceless. 2012-07-24 15:55:04 -07:00
John Benediktsson 928a460aa1 yahoo: fix help-lint. 2012-07-24 15:22:07 -07:00
John Benediktsson 44a8bbe3e4 couchdb: use CONSTANT:. 2012-07-24 15:04:32 -07:00
John Benediktsson 56404b8b89 dice: implementing randomized dice rolling with EBNF. 2012-07-24 15:04:31 -07:00
John Benediktsson fe7b482efe xkcd: adding a summary.txt. 2012-07-24 15:04:31 -07:00
Doug Coleman adb410582c html.elements: Use CONSTANT: 2012-07-24 14:16:17 -07:00
Doug Coleman 56ee372f15 google.search: Add fileFormat slot. Rename http-search to google-search 2012-07-24 14:09:29 -07:00
Doug Coleman 51b01d73b3 yahoo!: rename search-yahoo to yahoo-search 2012-07-24 14:09:03 -07:00
John Benediktsson fe457b5773 io.streams.256color: adding some tests. 2012-07-24 12:03:22 -07:00
John Benediktsson 3c16ee05b7 google.search: adding simple wrapper for Google Search API. 2012-07-24 11:57:42 -07:00
John Benediktsson 66624ce7da xkcd: adding words to view XKCD comics in the listener. 2012-07-24 11:11:42 -07:00
John Benediktsson 06469a4865 txon: adding reader and writer words for TXON format. 2012-07-24 09:49:45 -07:00
John Benediktsson bc5139e8ff io.streams.256color: fixing grayscale, adding authors and summary files. 2012-07-24 09:47:55 -07:00
John Benediktsson 5c76cbb421 rename some words to x>sequence and sequence>x. 2012-07-23 21:28:38 -07:00
John Benediktsson 9ab4053e46 io.streams.256color: adding a "256color-terminal?" word and minor cleanup. 2012-07-23 17:46:27 -07:00
John Benediktsson a8fae26b82 io.streams.256color: adding a xterm-256color style stream. 2012-07-23 14:36:55 -07:00
John Benediktsson af6d08078a sequence.extras: fix using for tests. 2012-07-23 09:16:10 -07:00
John Benediktsson f1aeea56fb sequences.extras: fix bug in infimum-by/supremum-by. 2012-07-23 07:52:27 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 5afca2989c mongodb/couchdb: use associate where possible. 2012-07-20 09:41:05 -07:00
John Benediktsson 2398580eb8 io.sockets.secure.unix.debug: move to io.sockets.secure.debug (not unix specific). 2012-07-19 19:17:52 -07:00
John Benediktsson 8d08230f44 benchmark: assert some results. 2012-07-19 19:10:09 -07:00
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