]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 months agosequences.extras: Add more reduce/accumulate words like 1reduce and reduce-of
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

14 months agosequences.extras: fix stack effects
Doug Coleman [Fri, 26 Aug 2022 04:43:22 +0000 (00:43 -0400)]
sequences.extras: fix stack effects

14 months agowordlet: use some extras words, add a quit option
Doug Coleman [Fri, 26 Aug 2022 04:22:49 +0000 (00:22 -0400)]
wordlet: use some extras words, add a quit option

14 months agosequences.extras: add -of versions of lots of words.
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.

14 months agosequences: move-forward is impossible unless to < from
Doug Coleman [Fri, 26 Aug 2022 04:09:35 +0000 (00:09 -0400)]
sequences: move-forward is impossible unless to < from

dead code

14 months agospin: swap rot is spin
Doug Coleman [Fri, 26 Aug 2022 04:09:12 +0000 (00:09 -0400)]
spin: swap rot is spin

14 months agosequences.extras: add a version of filter-map and 2filter-map that take one quot
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.

14 months agosequences: add 2filter 2reject
Doug Coleman [Thu, 25 Aug 2022 23:02:41 +0000 (19:02 -0400)]
sequences: add 2filter 2reject

14 months agosequences: fix stack orders and move unit test
Doug Coleman [Thu, 25 Aug 2022 22:16:49 +0000 (18:16 -0400)]
sequences: fix stack orders and move unit test

14 months agosequences: fix map-from and map-from-as
Doug Coleman [Thu, 25 Aug 2022 22:06:07 +0000 (18:06 -0400)]
sequences: fix map-from and map-from-as

14 months agosequences: fix from word
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

14 months agosequences.extras: use 2dip instead of -rot
Doug Coleman [Thu, 25 Aug 2022 21:12:25 +0000 (17:12 -0400)]
sequences.extras: use 2dip instead of -rot

14 months agosequences.extras: Add the histogram outputs to the unit tests
Doug Coleman [Thu, 25 Aug 2022 15:00:23 +0000 (11:00 -0400)]
sequences.extras: Add the histogram outputs to the unit tests

14 months agosequences.extras: Add progress-index word like `𝕨 ⊒ 𝕩: Progressive Index Of` in bqn
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

14 months agosequenece.extras: add occurrence-count like ⊒ in bqn
Doug Coleman [Thu, 25 Aug 2022 14:10:48 +0000 (10:10 -0400)]
sequenece.extras: add occurrence-count like ⊒ in bqn

14 months agosequences: fix `from` words
Doug Coleman [Thu, 25 Aug 2022 14:10:32 +0000 (10:10 -0400)]
sequences: fix `from` words

14 months agosequences: add 0reduce, 0accumulate that use their first element as the idenity
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

14 months agosequences.extras: Add 2map-filter and variants where the second sequence
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

14 months agosequences.extras: fix stack effect
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

14 months agosequences.extras: add 2reduce-from
Doug Coleman [Fri, 19 Aug 2022 04:14:04 +0000 (23:14 -0500)]
sequences.extras: add 2reduce-from

14 months agoalien.utilities: rename utility word more? => deref?
Doug Coleman [Fri, 19 Aug 2022 04:11:41 +0000 (23:11 -0500)]
alien.utilities: rename utility word more? => deref?

14 months agocombinators.extras: add callk
Doug Coleman [Fri, 19 Aug 2022 04:03:47 +0000 (23:03 -0500)]
combinators.extras: add callk

it keeps the quot

14 months agosequences: add tests for map-reduce
Doug Coleman [Fri, 19 Aug 2022 03:49:00 +0000 (22:49 -0500)]
sequences: add tests for map-reduce

14 months agosequences: add ensure-non-negative word
Doug Coleman [Fri, 19 Aug 2022 02:06:02 +0000 (21:06 -0500)]
sequences: add ensure-non-negative word

14 months agosequences: remove unused word
Doug Coleman [Fri, 19 Aug 2022 02:05:45 +0000 (21:05 -0500)]
sequences: remove unused word

14 months agosequences.extras: more refactor (2each-index) => 2sequence-index-iterator
Doug Coleman [Fri, 19 Aug 2022 02:02:51 +0000 (21:02 -0500)]
sequences.extras: more refactor (2each-index) => 2sequence-index-iterator

14 months agosequences: use with-assoc, most
Doug Coleman [Fri, 19 Aug 2022 01:53:00 +0000 (20:53 -0500)]
sequences: use with-assoc, most

found by `"sequences" lint-vocab`

14 months agosequences: use length-iterator/length-operator words for 2each 3each
Doug Coleman [Thu, 18 Aug 2022 23:38:04 +0000 (18:38 -0500)]
sequences: use length-iterator/length-operator words for 2each 3each

14 months agosequences.extras: fix map-prior-from
Doug Coleman [Wed, 17 Aug 2022 02:47:49 +0000 (21:47 -0500)]
sequences.extras: fix map-prior-from

14 months agosequences: add map-prior-as, map-prior-from, and map-prior with custom identity
Doug Coleman [Wed, 17 Aug 2022 01:35:06 +0000 (20:35 -0500)]
sequences: add map-prior-as, map-prior-from, and map-prior with custom identity

14 months agoassocs: Add a bunch of `of` words
Doug Coleman [Mon, 15 Aug 2022 04:53:14 +0000 (23:53 -0500)]
assocs: Add a bunch of `of` words

14 months agosequences: Rename seq-nth to nth-of etc
Doug Coleman [Mon, 15 Aug 2022 03:42:21 +0000 (22:42 -0500)]
sequences: Rename seq-nth to nth-of etc

14 months agoassocs: add set-of and push-of
Doug Coleman [Mon, 15 Aug 2022 03:37:33 +0000 (22:37 -0500)]
assocs: add set-of and push-of

14 months agosequences: rename count to count-by
Doug Coleman [Mon, 15 Aug 2022 02:01:38 +0000 (21:01 -0500)]
sequences: rename count to count-by

14 months agoio.streams.sequence: remove `5roll <copier>` word lol
Doug Coleman [Mon, 8 Aug 2022 02:12:40 +0000 (21:12 -0500)]
io.streams.sequence: remove `5roll <copier>` word lol

14 months agoio.streams.sequence: Add some tests
Doug Coleman [Mon, 8 Aug 2022 02:04:36 +0000 (21:04 -0500)]
io.streams.sequence: Add some tests

third one breaks if you mess up rewriting sequence-copy-unsafe too bad XD

14 months agosorting: circularity if we use cleave in sorting
Doug Coleman [Mon, 8 Aug 2022 00:41:50 +0000 (19:41 -0500)]
sorting: circularity if we use cleave in sorting

14 months agofactor: use 2length
Doug Coleman [Mon, 8 Aug 2022 00:39:58 +0000 (19:39 -0500)]
factor: use 2length

14 months agocore: use copy in sorting
Doug Coleman [Sun, 7 Aug 2022 15:02:59 +0000 (10:02 -0500)]
core: use copy in sorting

14 months agocore: push-if -> push-when, refactoring sequence words
Doug Coleman [Sat, 6 Aug 2022 22:55:18 +0000 (17:55 -0500)]
core: push-if -> push-when, refactoring sequence words

14 months agomath.extras: tweak weighted-randoms add vose alias method
John Benediktsson [Sun, 26 Feb 2023 22:37:28 +0000 (14:37 -0800)]
math.extras: tweak weighted-randoms add vose alias method

14 months agodice: fix for recent random refactoring
John Benediktsson [Sun, 26 Feb 2023 22:17:10 +0000 (14:17 -0800)]
dice: fix for recent random refactoring

14 months agorandom: implement a generic random* to speed up randoms
John Benediktsson [Sun, 26 Feb 2023 21:58:26 +0000 (13:58 -0800)]
random: implement a generic random* to speed up randoms

14 months agocommand-line.startup: remove extra space
John Benediktsson [Sun, 26 Feb 2023 21:53:09 +0000 (13:53 -0800)]
command-line.startup: remove extra space

14 months agorandom.mersenne-twister: slightly faster random-32*
John Benediktsson [Sat, 25 Feb 2023 03:59:49 +0000 (19:59 -0800)]
random.mersenne-twister: slightly faster random-32*

14 months agomath.extras: adding weighted-randoms
John Benediktsson [Sat, 18 Feb 2023 00:56:08 +0000 (16:56 -0800)]
math.extras: adding weighted-randoms

14 months agoeditors.pulsar: adding Pulsar text editor support
John Benediktsson [Fri, 17 Feb 2023 20:37:42 +0000 (12:37 -0800)]
editors.pulsar: adding Pulsar text editor support

14 months agoeditors.zed: add support for the Zed text editor
John Benediktsson [Fri, 17 Feb 2023 16:58:00 +0000 (08:58 -0800)]
editors.zed: add support for the Zed text editor

14 months agowebapps.mason: more padding
John Benediktsson [Thu, 16 Feb 2023 20:43:23 +0000 (12:43 -0800)]
webapps.mason: more padding

14 months agogithub: add more github api calls
Doug Coleman [Fri, 10 Feb 2023 03:25:22 +0000 (21:25 -0600)]
github: add more github api calls

14 months agonamespaces.extras: Add `required` word which ensures a variable is set
Doug Coleman [Fri, 10 Feb 2023 03:24:45 +0000 (21:24 -0600)]
namespaces.extras: Add `required` word which ensures a variable is set

also add ?xor and one-of which ensures one of two variables is set

14 months agomime.types: adding resources.txt for deploy
John Benediktsson [Fri, 10 Feb 2023 00:35:11 +0000 (16:35 -0800)]
mime.types: adding resources.txt for deploy

14 months agosorting: add an alias for temporary backwards compatibility
John Benediktsson [Thu, 9 Feb 2023 17:46:39 +0000 (09:46 -0800)]
sorting: add an alias for temporary backwards compatibility

14 months agosorting: fix help-lint (again)
John Benediktsson [Wed, 8 Feb 2023 16:51:25 +0000 (08:51 -0800)]
sorting: fix help-lint (again)

14 months agosorting: fix help-lint
John Benediktsson [Wed, 8 Feb 2023 16:01:01 +0000 (08:01 -0800)]
sorting: fix help-lint

14 months agovocabs.files: fix help-lint
John Benediktsson [Wed, 8 Feb 2023 16:00:54 +0000 (08:00 -0800)]
vocabs.files: fix help-lint

15 months agojson: forgot to re-add the tests
John Benediktsson [Wed, 8 Feb 2023 06:24:26 +0000 (22:24 -0800)]
json: forgot to re-add the tests

15 months agoRename and add sorting words
Giftpflanze [Wed, 1 Feb 2023 17:27:34 +0000 (17:27 +0000)]
Rename and add sorting words

sorting:
natural-sort → sort
sort → sort-with
sort-with → sort-by
+ inv-sort
+ inv-sort-with
inv-sort-with → inv-sort-by
+ inv-sort-keys
+ inv-sort-values

sorting.slots → sorting.specification:
compare-slots → compare-with-spec
sort-by → sort-with-spec
sort-by-with → sort-with-spec-by
sort-keys-by → sort-keys-with-spec
sort-values-by → sort-values-with-spec

sorting.quick:
natural-sort! → sort!
sort! → sort-with!
sort-with! → sort-by!
+ inv-sort!
+ inv-sort-with!
inv-sort-with! → inv-sort-by!

sorting.bubble:
natural-bubble-sort! → bubble-sort!
bubble-sort! → bubble-sort-with!

15 months agohipku: "Autumn colors" not "Autumn Colors"
John Benediktsson [Wed, 8 Feb 2023 04:13:12 +0000 (20:13 -0800)]
hipku: "Autumn colors" not "Autumn Colors"

15 months agohipku: cleanup using
John Benediktsson [Tue, 7 Feb 2023 22:46:15 +0000 (14:46 -0800)]
hipku: cleanup using

15 months agohipku: implement the hipku algorithm.
John Benediktsson [Tue, 7 Feb 2023 22:22:04 +0000 (14:22 -0800)]
hipku: implement the hipku algorithm.

15 months agoproquint: change the interface to have >quint take bits
John Benediktsson [Tue, 7 Feb 2023 20:38:43 +0000 (12:38 -0800)]
proquint: change the interface to have >quint take bits

15 months agoproquint: fix using
John Benediktsson [Tue, 7 Feb 2023 19:38:23 +0000 (11:38 -0800)]
proquint: fix using

15 months agoproquint: adding quint-password
John Benediktsson [Tue, 7 Feb 2023 19:22:38 +0000 (11:22 -0800)]
proquint: adding quint-password

15 months agobech32: fix tests using
John Benediktsson [Tue, 7 Feb 2023 18:07:08 +0000 (10:07 -0800)]
bech32: fix tests using

15 months agoproquint: adding the Proquint encoding/decoding
John Benediktsson [Tue, 7 Feb 2023 17:16:18 +0000 (09:16 -0800)]
proquint: adding the Proquint encoding/decoding

15 months agoip-parser: adding ipv6-aton and ipv6-ntoa
John Benediktsson [Tue, 7 Feb 2023 17:11:32 +0000 (09:11 -0800)]
ip-parser: adding ipv6-aton and ipv6-ntoa

15 months agobech32: to use alphabet, we need << >>
John Benediktsson [Tue, 7 Feb 2023 04:52:52 +0000 (20:52 -0800)]
bech32: to use alphabet, we need << >>

15 months agohelp.html: go back to previous code colors
John Benediktsson [Tue, 7 Feb 2023 04:46:57 +0000 (20:46 -0800)]
help.html: go back to previous code colors

15 months agobech32: use alphabet-inverse
John Benediktsson [Tue, 7 Feb 2023 04:34:21 +0000 (20:34 -0800)]
bech32: use alphabet-inverse

15 months agobech32: adding Bech32 and Bech32m encoding/decoding
John Benediktsson [Tue, 7 Feb 2023 04:31:30 +0000 (20:31 -0800)]
bech32: adding Bech32 and Bech32m encoding/decoding

15 months agowebsites.concatenative: adding a static
John Benediktsson [Mon, 6 Feb 2023 20:14:47 +0000 (12:14 -0800)]
websites.concatenative: adding a static

15 months agotools.test.fuzz: add documentation
razetime [Mon, 6 Feb 2023 08:07:58 +0000 (13:37 +0530)]
tools.test.fuzz: add documentation

15 months agowebsites.concatenative: placeholder favicon and robots.txt
razetime [Sun, 5 Feb 2023 05:00:18 +0000 (10:30 +0530)]
websites.concatenative: placeholder favicon and robots.txt

15 months agoAdd robots.txt for factorcode website
razetime [Sun, 5 Feb 2023 03:31:44 +0000 (09:01 +0530)]
Add robots.txt for factorcode website

15 months agoui.tools: adding a "Browse New" command
John Benediktsson [Fri, 3 Feb 2023 17:53:05 +0000 (09:53 -0800)]
ui.tools: adding a "Browse New" command

15 months agoresolv-conf: Add more options
Giftpflanze [Fri, 3 Feb 2023 04:37:08 +0000 (04:37 +0000)]
resolv-conf: Add more options

15 months agoresolv-conf: Allow multiple options per line
Giftpflanze [Thu, 2 Feb 2023 03:34:55 +0000 (03:34 +0000)]
resolv-conf: Allow multiple options per line

15 months agohelp.html: switch to light gray code blocks
John Benediktsson [Thu, 2 Feb 2023 04:36:37 +0000 (20:36 -0800)]
help.html: switch to light gray code blocks

15 months agohelp.html: a bit more padding
John Benediktsson [Thu, 2 Feb 2023 04:30:34 +0000 (20:30 -0800)]
help.html: a bit more padding

15 months agohelp.html: fix nav header padding
John Benediktsson [Thu, 2 Feb 2023 04:20:20 +0000 (20:20 -0800)]
help.html: fix nav header padding

15 months agohelp.html: tweak styles
John Benediktsson [Thu, 2 Feb 2023 02:48:43 +0000 (18:48 -0800)]
help.html: tweak styles

15 months agowebapps: tweak styles
John Benediktsson [Thu, 2 Feb 2023 02:48:10 +0000 (18:48 -0800)]
webapps: tweak styles

15 months agoui.tools.common: remove using
John Benediktsson [Thu, 2 Feb 2023 00:51:56 +0000 (16:51 -0800)]
ui.tools.common: remove using

15 months agowebapps: tweak monospace padding
John Benediktsson [Thu, 2 Feb 2023 00:49:23 +0000 (16:49 -0800)]
webapps: tweak monospace padding

15 months agohelp.html: tweak markup
John Benediktsson [Thu, 2 Feb 2023 00:45:39 +0000 (16:45 -0800)]
help.html: tweak markup

15 months agohelp.markup: tweak ($code) again
John Benediktsson [Wed, 1 Feb 2023 23:21:04 +0000 (15:21 -0800)]
help.markup: tweak ($code) again

15 months agolistener: remove extra $nl
John Benediktsson [Wed, 1 Feb 2023 23:11:25 +0000 (15:11 -0800)]
listener: remove extra $nl

15 months agounrolled-lists: fix empty list popping (#2729)
razetime [Wed, 1 Feb 2023 04:53:26 +0000 (10:23 +0530)]
unrolled-lists: fix empty list popping (#2729)
Added documentation for the unrolled-list class,
and added new tests for the issue fix.

15 months agohelp.markup: tests for $code change
John Benediktsson [Tue, 31 Jan 2023 21:01:43 +0000 (13:01 -0800)]
help.markup: tests for $code change

15 months agohelp: minor doc fixes
John Benediktsson [Tue, 31 Jan 2023 19:46:14 +0000 (11:46 -0800)]
help: minor doc fixes

15 months agohelp.html: more default html output
John Benediktsson [Tue, 31 Jan 2023 19:40:46 +0000 (11:40 -0800)]
help.html: more default html output

15 months agohelp.markup: add more spacing around $code
John Benediktsson [Tue, 31 Jan 2023 19:35:41 +0000 (11:35 -0800)]
help.markup: add more spacing around $code

15 months agohelp.tour: minor formatting
John Benediktsson [Tue, 31 Jan 2023 19:34:31 +0000 (11:34 -0800)]
help.tour: minor formatting

15 months agohelp.tutorial: remove unnecessary $nl
John Benediktsson [Tue, 31 Jan 2023 19:29:06 +0000 (11:29 -0800)]
help.tutorial: remove unnecessary $nl

15 months agoRevert "html.streams: make more spans"
John Benediktsson [Tue, 31 Jan 2023 16:17:10 +0000 (08:17 -0800)]
Revert "html.streams: make more spans"

This reverts commit 554b2834debc1a4fe7d529b5b05db5ef17d6abd4.

15 months agocpu.arm.assembler: Optimize shifting immediates, qualify immediates
Giftpflanze [Tue, 31 Jan 2023 17:16:09 +0000 (17:16 +0000)]
cpu.arm.assembler: Optimize shifting immediates, qualify immediates

15 months agohelp.html: some table fixes
John Benediktsson [Tue, 31 Jan 2023 07:02:47 +0000 (23:02 -0800)]
help.html: some table fixes

15 months agohelp.html: some style fixes
John Benediktsson [Tue, 31 Jan 2023 06:09:58 +0000 (22:09 -0800)]
help.html: some style fixes

15 months agohtml.streams: make more spans
John Benediktsson [Tue, 31 Jan 2023 05:54:49 +0000 (21:54 -0800)]
html.streams: make more spans