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