Commit Graph

29829 Commits (4fda623f513bdf32692ce86084e630c95afbba2d)

Author SHA1 Message Date
Alexander Iljin 692f49d92e rosetta-code.gnome-sort: add some tests 2017-03-18 16:44:14 -07:00
Alexander Iljin ea50cc77a0 rosetta-code.gnome-sort: add vocab 2017-03-18 15:08:56 -07:00
John Benediktsson 9c7655d286 infix: adding support for constants and ( -- x ) words.
Also speed up subseq steps with negative steps.
2017-03-18 13:27:33 -07:00
John Benediktsson 3f04f7b013 classes.maybe: fix help-lint for docs.
Right now the examples must have stack effect ( -- ).  Some future
version might have an output stack assertion, but for now use
prettyprint to check result.
2017-03-17 13:21:36 -07:00
Alexander Iljin e41f021f3c animations-docs: fix a typo 2017-03-17 08:22:18 -07:00
Alexander Iljin b1a24358f3 classes.maybe-docs: create some documentation for the maybe vocab
Integrate the pointers to the new article into existing help system,
primarily by looking for the uses of the "unions" article.
2017-03-17 08:22:18 -07:00
Alexander Iljin bad5408c76 *-docs: fix a typo in the word parametErized 2017-03-17 08:22:18 -07:00
Alexander Iljin cecbd6c602 alien-docs: fix wording 2017-03-17 08:22:18 -07:00
Alexander Iljin 4968a4f6a5 sequences-docs: add a bunch of related-words 2017-03-17 08:22:18 -07:00
Alexander Iljin a6223e1ae3 sequences-docs: simplify the head* description 2017-03-17 08:22:18 -07:00
John Benediktsson 2e43bc6b90 infix: add support for string literals.
Rename ast-number to ast-value (to represent any literal value).
2017-03-16 16:14:51 -07:00
John Benediktsson 8e87696719 infix: don't shadow ``t`` even though we can. 2017-03-16 15:50:58 -07:00
John Benediktsson aa05fca37f infix: add a test for nested local scopes. 2017-03-16 15:49:07 -07:00
John Benediktsson 2b23d75544 infix: fix to allow nested local scopes. 2017-03-16 15:36:07 -07:00
nicolas-p 20a663ab0b ui.gadgets.buttons: workaround for windows gradient bug 2017-03-14 17:26:19 -07:00
John Benediktsson d60970c0a5 io.standard-paths.windows: fix find-in-program-files.
Remove stale bfs? flag.
2017-03-05 19:17:14 -08:00
John Benediktsson 2ede9f09be io.standard-paths.windows: fix to use find-file-in-directories. 2017-03-05 15:58:59 -08:00
John Benediktsson 495d27a502 io.directories.search: fix linux tests.
Linux doesn't return alphabetic ordering like Windows and macOS, so
we just assert the paths are iterated in the correct order by depth.
2017-03-05 15:56:28 -08:00
John Benediktsson 8b455d2306 tools.deploy.shaker: support "stop-after-last-window?".
This only works on macOS right now, but since most every deploy.factor
has it set, we should read it and use it.
2017-03-05 15:13:24 -08:00
John Benediktsson 96a0c30baf ui.backend: adding ui-stop-after-last-window?.
This defaults to true, except for the "ui.tools".  Also, this only
works on macOS right now.  Linux and Windows always stop after the
last window closes.
2017-03-05 14:51:33 -08:00
John Benediktsson 44da4ed4dd sequences: fix filter! to allow stack arguments to be used by the quot. 2017-03-05 14:09:03 -08:00
John Benediktsson c6a00bfdfe id3: fix for find-files-by-extension rename. 2017-03-05 13:47:19 -08:00
John Benediktsson 79983feed7 inverse: simplify, a little cleanup. 2017-03-05 13:32:34 -08:00
John Benediktsson 368e1c8e47 io.directories.search: simplify interface.
Now we use a ``traversal-method`` variable that controls whether
we do a depth-first or breadth-first search rather than a stack
argument or a fixed default specified in each word.

This also fixes an issue where breadth-first traversal would
iterate across children in reverse order, now it does the normal
ordering which is typically alphabetical.
2017-03-05 09:16:00 -08:00
John Benediktsson 9e4b0c10ae lru-cache: fix M\ lru-cache clone. 2017-03-02 18:41:24 -08:00
John Benediktsson faf0158ad0 lru-cache: adding a Least Recently Used (LRU) cache. 2017-03-02 16:12:01 -08:00
John Benediktsson 92bddad476 linked-assocs.prettyprint: only print LH{ } for linked-assoc classes.
Not subclasses.
2017-03-02 16:09:46 -08:00
John Benediktsson 890be49074 combinators.extras: adding a variant to cond. 2017-02-21 14:51:30 -08:00
thron7 b00aef99e2 fixed variable name mismatch 2017-02-21 10:16:59 -08:00
nicolas-p 55834faba7 slots: added margins 2017-02-14 13:49:30 -08:00
Alexander Iljin 9ab0e5d6f8 checksums.sha1-docs: fix wording 2017-02-14 23:02:43 +03:00
Alexander Iljin 226d8a2397 ui.baseline-alignment-docs: replace $snippet with $slot 2017-02-14 23:02:36 +03:00
Alexander Iljin 3503bf86e2 ui.render-docs: replace $snippet with $slot 2017-02-14 23:02:29 +03:00
John Benediktsson e826546c6d cocoa.messages: simplify (objc-class). 2017-02-11 20:58:25 -08:00
John Benediktsson 52932cf2e1 delegate.protocols: adding deque-protocol. 2017-02-11 14:23:57 -08:00
John Benediktsson d63c992d97 using when instead of [ ] if. 2017-02-09 16:29:14 -08:00
John Benediktsson 9d3b5cb44b vocabs: simplify M\ string require. 2017-02-09 16:24:05 -08:00
John Benediktsson 2e73914e85 rosetta-code.equilibrium-index: simplify. 2017-02-09 16:04:20 -08:00
John Benediktsson 3a6eefcc8e using ignore-errors instead of [ drop ] recover. 2017-02-09 15:50:33 -08:00
John Benediktsson 119ba84998 math.primes.safe: this looks nicer. 2017-02-08 11:32:34 -08:00
John Benediktsson a8b66764d5 compiler.utilities: move conjoin-at tests. 2017-02-08 11:16:00 -08:00
John Benediktsson b5dd40cc53 math.primes.factors: support command-line args like factor(1). 2017-02-08 11:14:24 -08:00
John Benediktsson 9d2e62f8e1 math.primes.safe: simplify. 2017-02-08 11:14:10 -08:00
Jon Harper 7ed6379633 trees, attempt to keep shape during conersions 2017-02-08 10:37:02 -08:00
Jon Harper d800d026de trees, make pop/slurp work for all trees
It is not as optimized as it could be but it is a simple way
to ensure that the tree properties are maintained.
2017-02-08 10:37:02 -08:00
Jon Harper e0bd21e24a trees, cleanup privates 2017-02-08 10:37:02 -08:00
Jon Harper 8b136cdd6d trees, add pop/slurp operations 2017-02-08 10:37:02 -08:00
Jon Harper 45500b9137 trees, add navigation operations (lower-key etc.) 2017-02-08 10:37:02 -08:00
Jon Harper 3667844439 trees, add range operations (subtree>alist etc.) 2017-02-08 10:37:02 -08:00
Jon Harper c686b15939 trees, fix delete-at. Add testcase 2017-02-08 10:37:02 -08:00