]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Sat, 25 Feb 2023 23:36:52 +0000 (17:36 -0600)]
vocabs: use ?unless
Doug Coleman [Sat, 25 Feb 2023 23:36:32 +0000 (17:36 -0600)]
namespaces.extras: clean up
Doug Coleman [Sat, 25 Feb 2023 23:14:36 +0000 (17:14 -0600)]
extras: fix using/deleted word
Doug Coleman [Sat, 25 Feb 2023 22:03:44 +0000 (16:03 -0600)]
kernel: fix ?if stack effect
Doug Coleman [Sat, 25 Feb 2023 21:14:38 +0000 (15:14 -0600)]
kernel: document ?if ?when ?unless
Doug Coleman [Sat, 25 Feb 2023 21:14:02 +0000 (15:14 -0600)]
tools.scaffold: make scaffold-docs work on strings, seqs, words
Doug Coleman [Sat, 25 Feb 2023 19:54:05 +0000 (13:54 -0600)]
stack-checker.visitor.dummy: use 5drop
Doug Coleman [Sat, 25 Feb 2023 19:39:41 +0000 (13:39 -0600)]
alien.c-types: fix bad use of ?when
Doug Coleman [Sat, 25 Feb 2023 19:15:47 +0000 (13:15 -0600)]
extras: remove circular dependency
Doug Coleman [Sat, 25 Feb 2023 19:13:29 +0000 (13:13 -0600)]
parser: fix bad refactor
Doug Coleman [Sat, 25 Feb 2023 18:37:34 +0000 (12:37 -0600)]
sequences.extas: use spind
Doug Coleman [Sat, 25 Feb 2023 18:29:56 +0000 (12:29 -0600)]
factor: whitespace only
Doug Coleman [Sat, 25 Feb 2023 18:21:03 +0000 (12:21 -0600)]
shuffle: clean up some shuffles
Doug Coleman [Sat, 25 Feb 2023 18:20:42 +0000 (12:20 -0600)]
assocs: move some -of words to extras
Doug Coleman [Sat, 25 Feb 2023 15:08:13 +0000 (09:08 -0600)]
factor: use ?call
Doug Coleman [Sat, 25 Feb 2023 15:05:21 +0000 (09:05 -0600)]
namespaces.extras: rename ?xor to xor* and add inline
Doug Coleman [Sat, 25 Feb 2023 14:58:31 +0000 (08:58 -0600)]
kernel: use ?call
Doug Coleman [Sat, 25 Feb 2023 05:20:14 +0000 (23:20 -0600)]
sequences: move ??nth
Doug Coleman [Sat, 25 Feb 2023 04:58:09 +0000 (22:58 -0600)]
lint: add a lint for keep
Doug Coleman [Sat, 25 Feb 2023 04:57:35 +0000 (22:57 -0600)]
sequences.extras: move ??nth
Doug Coleman [Fri, 24 Feb 2023 22:49:13 +0000 (16:49 -0600)]
kernel: ?call and simplify
Doug Coleman [Fri, 24 Feb 2023 01:41:05 +0000 (19:41 -0600)]
kernel: ?if-old is just `[ or* ] 2dip if`
Doug Coleman [Wed, 22 Feb 2023 14:08:07 +0000 (08:08 -0600)]
sequences.extras: make a word inline
Doug Coleman [Wed, 22 Feb 2023 14:06:49 +0000 (08:06 -0600)]
compiler/vm: Allow words made of curry/compose to compile
put back the `[ ] like`
fixes #2763
Doug Coleman [Tue, 21 Feb 2023 05:36:45 +0000 (23:36 -0600)]
cocoa.pasteboard: use correct ?transmute
Doug Coleman [Tue, 21 Feb 2023 05:29:04 +0000 (23:29 -0600)]
sequences: fix docs
Doug Coleman [Tue, 21 Feb 2023 03:26:46 +0000 (21:26 -0600)]
fixups: ?if changed effects not renamed
Doug Coleman [Tue, 21 Feb 2023 03:17:13 +0000 (21:17 -0600)]
sorting: still use <copier>
Doug Coleman [Tue, 21 Feb 2023 03:14:21 +0000 (21:14 -0600)]
sequence: move check-grow-copy
Doug Coleman [Tue, 21 Feb 2023 03:13:08 +0000 (21:13 -0600)]
core: rename ensure-non-negative to assert-non-negative
Doug Coleman [Tue, 21 Feb 2023 02:33:59 +0000 (20:33 -0600)]
core; move find* to extras
Doug Coleman [Tue, 21 Feb 2023 02:31:47 +0000 (20:31 -0600)]
sequences: move words to extras
Doug Coleman [Tue, 21 Feb 2023 02:31:22 +0000 (20:31 -0600)]
sorting: better formatting
Doug Coleman [Tue, 21 Feb 2023 02:31:08 +0000 (20:31 -0600)]
tools.scaffold: in-out removal
Doug Coleman [Tue, 21 Feb 2023 01:41:32 +0000 (19:41 -0600)]
assocs: move a lot of *-of words to assocs.extas
Doug Coleman [Tue, 21 Feb 2023 01:38:45 +0000 (19:38 -0600)]
sequences.extras: working towards a simple map combinator
Doug Coleman [Tue, 21 Feb 2023 01:38:32 +0000 (19:38 -0600)]
sequences: find-from-unsafe is not unsafe, rename
Doug Coleman [Tue, 21 Feb 2023 01:38:17 +0000 (19:38 -0600)]
help: remove in-out
Doug Coleman [Mon, 20 Feb 2023 02:10:09 +0000 (20:10 -0600)]
sequences: remove ??if
Doug Coleman [Mon, 20 Feb 2023 02:06:09 +0000 (20:06 -0600)]
effects: remove in-out
Doug Coleman [Mon, 20 Feb 2023 02:05:32 +0000 (20:05 -0600)]
sequences.extras: rename push? to maybe-push
Doug Coleman [Mon, 20 Feb 2023 02:04:54 +0000 (20:04 -0600)]
factor: remove in-out, it's just in>> out>>
Doug Coleman [Mon, 20 Feb 2023 00:12:29 +0000 (18:12 -0600)]
semantic-versioning: crept back in during a merge conflict; deleting again
Doug Coleman [Fri, 17 Feb 2023 05:05:35 +0000 (23:05 -0600)]
factor: use more ?if
Doug Coleman [Fri, 17 Feb 2023 04:54:03 +0000 (22:54 -0600)]
factor: use `[ ] append-as` and `[ ] concat-as` in more places
Doug Coleman [Fri, 17 Feb 2023 04:22:23 +0000 (22:22 -0600)]
vocabs.loader: use ?if
Doug Coleman [Fri, 17 Feb 2023 04:17:34 +0000 (22:17 -0600)]
combinators.extras: trying to figure out a combinator that does `[ predicate? ] [ action ] 1check-when`
Doug Coleman [Fri, 17 Feb 2023 04:17:21 +0000 (22:17 -0600)]
factor: use more ?if and ?unless
Doug Coleman [Fri, 17 Feb 2023 02:55:48 +0000 (20:55 -0600)]
pathnames: support pathnames more places like append-path and recursive-directory-files
In general, P"" or `pathname` is a frontend/tooling convenience concept
with tab-complete for paths in the ui. Backend apis should see strings.
Doug Coleman [Fri, 17 Feb 2023 01:36:34 +0000 (19:36 -0600)]
io.sockets.secure.openssl: add two more recommended protocols
Doug Coleman [Tue, 14 Feb 2023 06:20:05 +0000 (00:20 -0600)]
factor: ?if to ?if-old
Doug Coleman [Tue, 14 Feb 2023 05:29:34 +0000 (23:29 -0600)]
factor: use ??if instead of ?if-old
Doug Coleman [Tue, 14 Feb 2023 05:29:22 +0000 (23:29 -0600)]
sequences: add find* variant
Doug Coleman [Tue, 14 Feb 2023 05:25:52 +0000 (23:25 -0600)]
kernel: redo ?if to ?if-old, add ?if ?when ?unless
Doug Coleman [Sat, 11 Feb 2023 07:42:06 +0000 (01:42 -0600)]
sequences.extras: add some words that might be useful
Doug Coleman [Sat, 11 Feb 2023 07:05:02 +0000 (01:05 -0600)]
sequences: add find* variants that return index/f as last param for better use with `if`
Doug Coleman [Sat, 11 Feb 2023 05:08:31 +0000 (23:08 -0600)]
sequences.extras: fix occurrence-count-by rename
Doug Coleman [Sat, 11 Feb 2023 04:22:15 +0000 (22:22 -0600)]
factor: fix using/docs
Doug Coleman [Sat, 11 Feb 2023 03:03:34 +0000 (21:03 -0600)]
assocs.extas: add ?1array
Doug Coleman [Sat, 11 Feb 2023 03:02:32 +0000 (21:02 -0600)]
assocs: fix docs import
it should import assocs too, lint tool is broken?
Doug Coleman [Sat, 11 Feb 2023 02:55:43 +0000 (20:55 -0600)]
game.models.collada: use swapd
Doug Coleman [Sat, 11 Feb 2023 02:21:25 +0000 (20:21 -0600)]
basis: adjust in-out spacing
Doug Coleman [Sat, 11 Feb 2023 02:19:38 +0000 (20:19 -0600)]
factor: update http to https for licenses
Doug Coleman [Sat, 11 Feb 2023 01:58:34 +0000 (19:58 -0600)]
factor: use in-out word
Doug Coleman [Sat, 11 Feb 2023 01:35:01 +0000 (19:35 -0600)]
assocs: more work on -of words
Doug Coleman [Wed, 8 Feb 2023 15:31:49 +0000 (09:31 -0600)]
sequences: move (2selector-as)
Doug Coleman [Mon, 6 Feb 2023 00:36:16 +0000 (18:36 -0600)]
assocs: move with-assoc back to assocs
There are two uses of `curry [ swap ] prepose`. One is to swap the arguments
from assoc-each etc from ( key value ) to ( value key ). The other use in
sequences is for hiding the top stack element from the quotation.
Doug Coleman [Sun, 5 Feb 2023 19:29:58 +0000 (13:29 -0600)]
sequences: seq-copy-loop -> copy-loop
Doug Coleman [Sun, 5 Feb 2023 19:12:09 +0000 (13:12 -0600)]
factor: rename count-by back to count. count* -> percent-of
count is way more useful as a combinator than as [ ] count-by.
Doug Coleman [Sun, 5 Feb 2023 18:40:42 +0000 (12:40 -0600)]
core: fix using lists
Doug Coleman [Wed, 7 Dec 2022 20:34:43 +0000 (14:34 -0600)]
assocs: fix at+* to return old,new and change* to change-by*
Doug Coleman [Tue, 6 Dec 2022 04:45:52 +0000 (22:45 -0600)]
docs: fix lint errors.
For some reason these $examples were not erroring but now they are.
Doug Coleman [Tue, 6 Dec 2022 04:05:29 +0000 (22:05 -0600)]
sequences: add more docs
Doug Coleman [Tue, 6 Dec 2022 03:36:40 +0000 (21:36 -0600)]
sequences: count is [ ] count-by, readd seq-copy-loop again
Doug Coleman [Tue, 6 Dec 2022 00:23:10 +0000 (18:23 -0600)]
sequences: Move some words to sequences.seq in extra.
Ideally we would have the `foo` and `swap foo` versions of words
like `push`, `push-all`, etc. Other words, like `seq-copy-loop`,
seem more natural with this ordering.
Punt on merging in core til .100 (if at all)
Doug Coleman [Mon, 5 Dec 2022 06:49:08 +0000 (00:49 -0600)]
fixups: add count-by to fixups, add more?
Doug Coleman [Thu, 15 Sep 2022 20:22:42 +0000 (16:22 -0400)]
sequences.extras: Add more reduce/accumulate words like 1reduce and reduce-of
Doug Coleman [Fri, 26 Aug 2022 04:43:22 +0000 (00:43 -0400)]
sequences.extras: fix stack effects
Doug Coleman [Fri, 26 Aug 2022 04:22:49 +0000 (00:22 -0400)]
wordlet: use some extras words, add a quit option
Doug Coleman [Fri, 26 Aug 2022 04:10:21 +0000 (00:10 -0400)]
sequences.extras: add -of versions of lots of words.
i think these are more natural, but we can have both! in extra.
Doug Coleman [Fri, 26 Aug 2022 04:09:35 +0000 (00:09 -0400)]
sequences: move-forward is impossible unless to < from
dead code
Doug Coleman [Fri, 26 Aug 2022 04:09:12 +0000 (00:09 -0400)]
spin: swap rot is spin
Doug Coleman [Fri, 26 Aug 2022 01:22:27 +0000 (21:22 -0400)]
sequences.extras: add a version of filter-map and 2filter-map that take one quot
and a version that take two quots.
Doug Coleman [Thu, 25 Aug 2022 23:02:41 +0000 (19:02 -0400)]
sequences: add 2filter 2reject
Doug Coleman [Thu, 25 Aug 2022 22:16:49 +0000 (18:16 -0400)]
sequences: fix stack orders and move unit test
Doug Coleman [Thu, 25 Aug 2022 22:06:07 +0000 (18:06 -0400)]
sequences: fix map-from and map-from-as
Doug Coleman [Thu, 25 Aug 2022 22:02:47 +0000 (18:02 -0400)]
sequences: fix from word
`from` can go last or second to last, exemplar goes last
the natural place for the `from` is at the bottom of the stack,
but requiring the callers to do this is more stack shuffling
at every call vs just shuffling it in the word. also you have to
know how deep to -rot the `from` so it's best to leave it to the
combinators
Doug Coleman [Thu, 25 Aug 2022 21:12:25 +0000 (17:12 -0400)]
sequences.extras: use 2dip instead of -rot
Doug Coleman [Thu, 25 Aug 2022 15:00:23 +0000 (11:00 -0400)]
sequences.extras: Add the histogram outputs to the unit tests
Doug Coleman [Thu, 25 Aug 2022 14:54:02 +0000 (10:54 -0400)]
sequences.extras: Add progress-index word like `𝕨 ⊒ 𝕩: Progressive Index Of` in bqn
Doug Coleman [Thu, 25 Aug 2022 14:10:48 +0000 (10:10 -0400)]
sequenece.extras: add occurrence-count like ⊒ in bqn
Doug Coleman [Thu, 25 Aug 2022 14:10:32 +0000 (10:10 -0400)]
sequences: fix `from` words
Doug Coleman [Thu, 25 Aug 2022 02:11:48 +0000 (22:11 -0400)]
sequences: add 0reduce, 0accumulate that use their first element as the idenity
Doug Coleman [Tue, 23 Aug 2022 13:21:25 +0000 (09:21 -0400)]
sequences.extras: Add 2map-filter and variants where the second sequence
is not known before the word is called
Doug Coleman [Mon, 22 Aug 2022 03:19:44 +0000 (23:19 -0400)]
sequences.extras: fix stack effect
if you develop with `disable-optimizer` it's faster but doesn't catch
these kind of errors
Doug Coleman [Fri, 19 Aug 2022 04:14:04 +0000 (23:14 -0500)]
sequences.extras: add 2reduce-from
Doug Coleman [Fri, 19 Aug 2022 04:11:41 +0000 (23:11 -0500)]
alien.utilities: rename utility word more? => deref?
Doug Coleman [Fri, 19 Aug 2022 04:03:47 +0000 (23:03 -0500)]
combinators.extras: add callk
it keeps the quot
Doug Coleman [Fri, 19 Aug 2022 03:49:00 +0000 (22:49 -0500)]
sequences: add tests for map-reduce
Doug Coleman [Fri, 19 Aug 2022 02:06:02 +0000 (21:06 -0500)]
sequences: add ensure-non-negative word