John Benediktsson
9cccb4de95
io.encodings.8-bit: adding CP874.
2018-02-26 11:45:11 -08:00
John Benediktsson
216057d255
minesweeper: ignore space keypress for hint cheat.
2018-02-26 11:32:04 -08:00
John Benediktsson
7c5012da67
dbf: beginning to parse dBase database files.
2018-02-26 10:32:53 -08:00
John Benediktsson
85b69b5b49
io.encodings.8-bit: more encodings, and reduce hierarchy.
2018-02-26 10:21:35 -08:00
Björn Lindqvist
923944f41e
machine-learning.decision-trees: more thorough tests
2018-02-24 23:11:22 +01:00
John Benediktsson
fa91537935
minesweeper: minor doc edits.
2018-02-24 13:01:17 -08:00
John Benediktsson
5cb675486f
minesweeper: adding some help docs and cap timer at 999 seconds.
2018-02-24 12:20:00 -08:00
John Benediktsson
57f69157b1
minesweeper: simpler hint mode, type more to disable.
2018-02-24 09:49:38 -08:00
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
John Benediktsson
8a3cf4eefa
project-euler.186: fix, I guess it's been broken for awhile.
2018-02-14 17:15:43 -08:00
John Benediktsson
6890ec3fe4
extra: remove some unneeded IN: in -tests.
2018-02-14 17:01:11 -08:00
John Benediktsson
f234ed8ff8
sudoku: better tests.
2018-02-14 17:00:51 -08:00
John Benediktsson
3a1fb4d588
assoc-heaps: adding / fixing test case.
2018-02-14 16:52:53 -08:00
John Benediktsson
bd9676e152
core/basis/extra: use none?.
2018-02-14 11:56:31 -08:00
John Benediktsson
01f7f6b76c
sequences: moving none? to core.
2018-02-14 11:23:03 -08:00
John Benediktsson
a92d67fcb2
fix more typos in docs.
2018-02-12 16:43:08 -08:00
John Benediktsson
7d628b833d
fix some typos in docs.
2018-02-12 16:22:49 -08:00
Cat Stevens
5fb53c851c
repair overwritten changes
2018-02-11 20:24:48 -08:00
Cat Stevens
52410dee2b
final fixups
2018-02-11 20:24:40 -08:00
John Benediktsson
3aee29e373
minesweeper: workaround world initialization problem.
...
Needs a better long term fix.
2018-02-11 20:00:18 -08:00
John Benediktsson
61df87db07
minesweeper: code golfing.
2018-02-11 18:56:19 -08:00
John Benediktsson
ffb42c913e
minesweeper: always relayout-1 on click/mark.
...
This fixes the smiley uhoh to repaint immediately rather than
waiting for the next timer tick.
2018-02-11 10:09:36 -08:00
John Benediktsson
52a503fef3
minesweeper: click cells around question but not flagged.
2018-02-11 10:02:36 -08:00
John Benediktsson
9c22098dec
ui.gadgets.labeled: make <labeled-gadget> not take a color.
...
This allows backwards compatibility with 0.97 API. Adding
<colored-labeled-gadget> for a version with a colored divider
and implementing it with a gap between title bar and content
intead of a shelf border gadget.
2018-02-11 09:53:48 -08:00
John Benediktsson
9d732a4ccb
minesweeper: adding a fun minesweeper game.
2018-02-09 17:27:04 -08:00
Björn Lindqvist
6dac2075df
machine-learning.decision-trees: vocab for creating decision trees
...
not done
2018-02-08 19:48:08 +01:00
Björn Lindqvist
7b2c2a93f5
project-euler.*: uses for arg-max and arg-min
2018-02-08 19:48:08 +01:00
Björn Lindqvist
603354a02e
sequences.extras: this formulation of arg-max/min should be better
2018-02-08 19:48:08 +01:00
Björn Lindqvist
cb98fd07c6
this file wasn't intended
2018-02-08 18:07:57 +01:00
Björn Lindqvist
114cc52022
machine-learning.data-sets: adding the monks problems
2018-02-08 16:39:49 +01:00
Björn Lindqvist
d2b58e93e0
FUEL: fix the test that broke due to refactoring
2018-02-07 20:37:06 +01:00
Björn Lindqvist
5d27f004a1
FUEL: refactoring to eliminate the eval-result variable
...
This makes the FUEL <-> Elisp ipc much simpler. All code called from
Elisp should put one result item on the stack. The fuel-pprint word
serializes it.
2018-02-07 18:38:28 +01:00
John Benediktsson
9d19fb939a
calendar.holidays: simplify M\ all holidays.
2018-02-06 20:54:09 -08:00
Björn Lindqvist
aa407d1016
git: better use assert= than custom error + test
2018-02-06 06:16:29 +01:00
John Benediktsson
3a23a92531
help.lint.coverage: change to use a find-word that doesn't use search.
...
When run with the test runner, manifest is ``f``, so ``search`` breaks.
2018-02-05 15:42:36 -08:00
John Benediktsson
849b6d76f4
fuel.help: change find-word to use words-named.
...
It still returns the "first" word found (which might be dubious), but
now it supports qualified search like "math:+" find-word.
2018-02-05 15:40:46 -08:00
John Benediktsson
8667655b3d
help.lint.coverage: fix tests using.
2018-02-05 07:48:42 -08:00
Cat Stevens
e4d6ea40ca
refactor help.lint.coverage with complete docs and tests
2018-02-04 20:19:57 -08:00
Björn Lindqvist
5edc976941
google.gmail: vocab needs some docs
2018-02-04 21:53:08 +01:00
Björn Lindqvist
2e112a7920
oauth2: vocab needs some docs
2018-02-04 21:25:07 +01:00
Cat Stevens
0b6e1b2a5c
v0.3 rename / rebrand pedantic lint to help coverage; rewrite again
2018-02-03 14:58:32 -08:00
Cat Stevens
de3d01daef
v0.2 help.lint.pedantic: move to extra
2018-02-03 14:58:32 -08:00
Björn Lindqvist
62f9acdbbc
opengl.shaders: probably better to call the gl functions directly
2018-01-31 01:42:04 +01:00
Björn Lindqvist
5709e0b621
FUEL: improved fuel-get-uses
...
The path to the source file needs to be set when parsing, in case a
syntax word uses 'where' or some similar word.
2018-01-29 12:12:07 +01:00
Björn Lindqvist
d95d9e0ec8
gpu.shaders: simplified in-word's-path
2018-01-29 12:12:07 +01:00
Björn Lindqvist
26b6a378ac
gpu.*: docs
2018-01-27 22:44:26 +01:00
Björn Lindqvist
88e1f091b9
extra/: more uses of the do-state combinator
2018-01-27 22:44:26 +01:00
Björn Lindqvist
66ce47e30a
gdbm: patch over an ABI change in version 1.14
2018-01-27 22:44:26 +01:00
John Benediktsson
2cb673ccfc
readline-listener: implement vocab-word-completions.
2018-01-24 17:11:44 -08:00
Alexander Iljin
8a4dba4cd9
Fix the existing IN: suffixes for the test vocabs
...
Change some existing vocab name suffixes from "-tests" or ".test" to
".tests". Add no new suffixes.
2018-01-24 16:03:48 -08:00
Björn Lindqvist
cd5a0c420d
pdf.layout: change-last needs prefix due to name clash from accessors
2018-01-24 18:20:30 +01:00