John Benediktsson
ade235e25a
minesweeper: adding XYZZY hint like the original.
2018-02-24 08:15:56 -08:00
John Benediktsson
b8ce63491f
minesweeper: some fixes to keep correct flag when winning/losing.
2018-02-24 08:13:30 -08:00
John Benediktsson
8f42570ba6
minesweeper: grid sizes were off by one.
2018-02-23 20:46:05 -08:00
John Benediktsson
2a9b40f033
shapefiles: add tests verifying roundtrip save-and-load.
2018-02-22 10:15:03 -08:00
John Benediktsson
2e69bdf17c
shapefiles: implement save-shapes.
2018-02-22 10:14:20 -08:00
John Benediktsson
84f8449771
shapefiles: reorganize a bit, and add ``load-shapes``.
2018-02-22 09:45:36 -08:00
Doug Coleman
435ce60165
assocs.extras: fry can easily curry the top item of the stack.
2018-02-20 01:21:28 -06:00
Doug Coleman
f3934d53c7
assocs.extras: go nuts on the crazy assoc words.
2018-02-19 23:04:33 -06:00
Doug Coleman
0b4ec06460
python: Fix docs for when python dll is missing.
2018-02-19 17:09:59 -06:00
Doug Coleman
9c72ab89b2
python: Fix like three thinko bugs but it works now.
2018-02-19 16:32:25 -06:00
Doug Coleman
f2a86e0bae
python: Fix unit tests -- only test when library is loaded.
...
Also reformat some unit tests that have a quot as the stack output.
2018-02-19 15:01:08 -06:00
Doug Coleman
7a729b7637
python: Only call the init if python is actually present.
...
Fixes #1952
2018-02-19 10:41:46 -06:00
Doug Coleman
310a4a247c
alien.libraries: load-library is misnamed, refactor library-dll.
...
load-library implies that dlopen() is called, which is totally not the
case. add-library calls dlopen() and load-library just looks the opened
library up in the ``libraries`` global. What load-library did is now
library-dll.
If we want to do it right, add-library should be a declarative top-level
form that tries to call a real load-library on demand instead of
memoizing the first try which would fix the case where the library is
not found, is moved into position by the user and Factor declines to
look it up again.
2018-02-19 10:38:21 -06:00
John Benediktsson
75b0289e74
shapefiles: reorder words to match read-shape enum list.
2018-02-19 08:13:00 -08:00
John Benediktsson
010d0ef2de
shapefiles: fix stacke effect names in read-shp.
2018-02-18 16:12:31 -08:00
John Benediktsson
a2d76ffda9
shapefiles: use null-shape singleton for... null shapes.
2018-02-18 16:08:18 -08:00
John Benediktsson
d910ed5572
shapefiles: more cleanup.
2018-02-18 16:06:42 -08:00
John Benediktsson
a90ef73d6b
shapefiles: cleanup, simplify a bit.
2018-02-18 15:54:39 -08:00
John Benediktsson
827cee0c8d
shapefiles: adding parser for ESRI Shapefiles.
2018-02-18 15:48:21 -08:00
John Benediktsson
1c59001abc
named-tuples: few more test cases.
2018-02-18 08:17:10 -08:00
John Benediktsson
a3e1364c4f
named-tuples: make work with bignum indices.
2018-02-17 18:34:32 -08:00
John Benediktsson
fb382b52c7
sequences.modified: little bit more cleanup.
2018-02-17 17:08:24 -08:00
John Benediktsson
baddc58f93
sequences.modified: simplify M\ summed modified-nth.
2018-02-17 17:03:39 -08:00
John Benediktsson
8cfeab92f3
named-tuples: use ?offset-of-slot in M\ named-tuple at*.
2018-02-17 12:56:43 -08:00
John Benediktsson
0f0ca3ecf7
named-tuples: mention assocs in summary.txt.
2018-02-17 10:02:45 -08:00
John Benediktsson
0ea0285e33
named-tuples: experiment to treat some tuples as sequences/assocs.
2018-02-17 10:00:34 -08:00
John Benediktsson
d64536e43c
minesweeper: better smiley faces.
2018-02-16 16:14:39 -08:00
John Benediktsson
88d2fdb7ac
minesweeper: better fix for hand click.
2018-02-16 15:48:36 -08:00
John Benediktsson
0d878f2873
minesweeper: fix bug when running before ever clicking on anything.
2018-02-16 15:09:00 -08:00
John Benediktsson
ca3b44b39b
sequences.extras: fix test case for interleaved/join-with.
2018-02-16 14:48:00 -08:00
John Benediktsson
2938c9b017
sequences.extras: making evens/odds mutable sequences.
2018-02-16 09:21:05 -08:00
John Benediktsson
dbd3febbf6
assoc-heaps: removing unused and uncompleted vocab.
2018-02-16 08:50:31 -08:00
John Benediktsson
a4dcc12b98
sequences.extras: rename join-with to interleaved.
2018-02-16 08:42:07 -08:00
John Benediktsson
7203df0152
sequences.extra: make evens/odds virtual sequences.
2018-02-16 08:40:57 -08:00
John Benediktsson
b38c1ffa16
sequences.repeating: cleanup repeats.
2018-02-16 08:31:22 -08:00
John Benediktsson
2d13cecc22
sequences.extras: fix evens/odds to not cache length.
2018-02-16 08:25:57 -08:00
John Benediktsson
fc40ab3fb8
sequences.interleaved: use 2/ (shift) instead of 2 / (divide).
2018-02-16 07:06:50 -08:00
John Benediktsson
192cf2a352
sequences.interleaved: adding a interleaved sequence.
2018-02-15 17:33:34 -08:00
John Benediktsson
fb0a6c6c5e
sequences.extras: adding join-with-as, test with strings.
2018-02-15 16:56:37 -08:00
John Benediktsson
112d374aed
sequences.extras: faster join-with.
...
If we initialize the array with the glue, then we just set every
other element from the input sequence.
2018-02-15 15:03:28 -08:00
John Benediktsson
58e77d10f9
sequences.extras: adding join-with.
2018-02-15 14:46:19 -08:00
John Benediktsson
6a5d22c830
help.lint.coverage: fix help-lint with english changes.
...
Longer term maybe easier if it just help-lint-coverage on itself?
2018-02-15 13:53:29 -08:00
John Benediktsson
f960c51878
Squashed commit of the following:
...
commit 429917d51c569b28d43b64f3b116e6b750e77c72
Author: Cat Stevens <catb0t@protonmail.ch>
Date: Thu Feb 15 15:54:50 2018 -0500
fix <PRIVATE> inside ARTICLE: ?!?!
commit b93243511c40ca7fd06120d089ead172df46c8b7
Author: Cat Stevens <catb0t@protonmail.ch>
Date: Wed Feb 14 18:11:26 2018 -0500
pluralize definition fix
commit e461c08166f98b974ae0e9075331dd388c1bcb48
Author: Cat Stevens <catb0t@protonmail.ch>
Date: Wed Feb 14 16:28:05 2018 -0500
update some words
commit 573ba01d6310d64788d13685dfc46099ffddb01b
Author: Cat Stevens <catb0t@protonmail.ch>
Date: Wed Feb 14 16:06:42 2018 -0500
remove a useless comment
commit 7733ade275a904449a3c691f4142329aaf73081e
Author: Cat Stevens <catb0t@protonmail.ch>
Date: Wed Feb 14 14:30:06 2018 -0500
extra/help.lint.coverage: update doctests because of new 100% coverage in basis/english
commit 9f89d2f5a261188dbd030b868323e3a0e95fb6c8
Author: Cat Stevens <catb0t@protonmail.ch>
Date: Tue Feb 13 18:51:33 2018 -0500
basis/english: new words; full help and test coverage
2018-02-15 13:21:27 -08:00
John Benediktsson
42b37dcc8a
fix some tests broken by previous commit.
2018-02-15 13:16:39 -08:00
John Benediktsson
4a144e5ea7
more test IN: cleanup.
2018-02-15 08:45:08 -08:00
John Benediktsson
d38fe7a92c
fix some test usings broken in the cleanup yesterday.
2018-02-15 07:14:56 -08:00
John Benediktsson
9610a49881
project-euler.186: simpler with if instead of 2unless?.
...
Not sure why I'm still working on this.
2018-02-14 19:46:26 -08:00
John Benediktsson
3023f42aa4
project-euler.186: merge next/advance.
2018-02-14 19:38:37 -08:00
John Benediktsson
700fc0367b
project-euler.186: the build bots can handle it.
2018-02-14 19:34:15 -08:00
John Benediktsson
75c6065a14
project-euler: removing unnecessary IN: in -tests.
2018-02-14 17:16:47 -08:00