]> gitweb.factorcode.org Git - factor.git/log
factor.git
20 months agoRevert "splitting: simplify using locals/fry" refactor-core-july21 2637/head
Doug Coleman [Sun, 31 Jul 2022 18:40:37 +0000 (13:40 -0500)]
Revert "splitting: simplify using locals/fry"

This reverts commit 9e7ce0fa0a601b32735b26dfd8876d97e515fbdc.

20 months agosequences: move defs higher
Doug Coleman [Sun, 31 Jul 2022 18:29:24 +0000 (13:29 -0500)]
sequences: move defs higher

20 months agosequences: add index-of-last
Doug Coleman [Sun, 31 Jul 2022 18:21:38 +0000 (13:21 -0500)]
sequences: add index-of-last

20 months agosequences: add more docs
Doug Coleman [Sun, 31 Jul 2022 18:13:40 +0000 (13:13 -0500)]
sequences: add more docs

20 months agotools.scaffold: Use object instead of null and fix sequences.private
Doug Coleman [Sun, 31 Jul 2022 18:13:18 +0000 (13:13 -0500)]
tools.scaffold: Use object instead of null and fix sequences.private
scaffolding

20 months agocore: update docs for new words
Doug Coleman [Sun, 31 Jul 2022 17:18:41 +0000 (12:18 -0500)]
core: update docs for new words

20 months agocolor-picker: Fix background and using
Doug Coleman [Sun, 31 Jul 2022 16:40:13 +0000 (11:40 -0500)]
color-picker: Fix background and using

20 months agoui.gadgets.search-tables: Fix background color of color-table
Doug Coleman [Sun, 31 Jul 2022 16:37:21 +0000 (11:37 -0500)]
ui.gadgets.search-tables: Fix background color of color-table

20 months agofactor: swap over is `tuck`
Doug Coleman [Sun, 31 Jul 2022 17:10:17 +0000 (12:10 -0500)]
factor: swap over is `tuck`

20 months agofixups: fix word rename
Doug Coleman [Sun, 31 Jul 2022 17:03:21 +0000 (12:03 -0500)]
fixups: fix word rename

20 months agococoa.application: use subseq again
Doug Coleman [Sun, 31 Jul 2022 17:03:09 +0000 (12:03 -0500)]
cocoa.application: use subseq again

20 months agosequences: remove-of? words aren't as good as i had hoped
Doug Coleman [Sun, 31 Jul 2022 15:45:14 +0000 (10:45 -0500)]
sequences: remove-of? words aren't as good as i had hoped

20 months agosequences: docs, forgot a rename
Doug Coleman [Sun, 31 Jul 2022 15:37:16 +0000 (10:37 -0500)]
sequences: docs, forgot a rename

20 months agosequences: bound -> index-or-length
Doug Coleman [Sun, 31 Jul 2022 15:25:27 +0000 (10:25 -0500)]
sequences: bound -> index-or-length

20 months agosequences: rename subsequence? words to subseq? again.
Doug Coleman [Sun, 31 Jul 2022 15:19:00 +0000 (10:19 -0500)]
sequences: rename subsequence? words to subseq? again.

20 months agohelp.html: fix load
Doug Coleman [Fri, 29 Jul 2022 23:13:02 +0000 (18:13 -0500)]
help.html: fix load

20 months agosequences.deep: deep-subseq? -> deep-subsequence?
Doug Coleman [Fri, 29 Jul 2022 22:42:31 +0000 (17:42 -0500)]
sequences.deep: deep-subseq? -> deep-subsequence?

swapped the stack args...

20 months agoyaml: with2 is kernel:withd now
Doug Coleman [Fri, 29 Jul 2022 21:55:14 +0000 (16:55 -0500)]
yaml: with2 is kernel:withd now

20 months agofactor: refactor subseq-start
Doug Coleman [Fri, 29 Jul 2022 21:45:38 +0000 (16:45 -0500)]
factor: refactor subseq-start

20 months agokernel: Add withd
Doug Coleman [Fri, 29 Jul 2022 21:30:01 +0000 (16:30 -0500)]
kernel: Add withd

10 { { 1 100 } { 2 200 } { 3 300 } } [ + + . ] withd assoc-each

Quotation sees:

10 1 100
10 2 200
10 3 300

20 months agorosetta-code.multisplit: refactor
Doug Coleman [Fri, 29 Jul 2022 21:29:25 +0000 (16:29 -0500)]
rosetta-code.multisplit: refactor

20 months agocore: find-subseq -> subsequence-starts, find-subseq-from -> subsequence-starts-from
Doug Coleman [Fri, 29 Jul 2022 19:27:16 +0000 (14:27 -0500)]
core: find-subseq -> subsequence-starts, find-subseq-from -> subsequence-starts-from

20 months agosequences.extras: fix find-last-index
Doug Coleman [Fri, 29 Jul 2022 19:26:35 +0000 (14:26 -0500)]
sequences.extras: fix find-last-index

20 months agostrings.parser: short -> bound
Doug Coleman [Fri, 29 Jul 2022 17:47:48 +0000 (12:47 -0500)]
strings.parser: short -> bound

20 months agoRevert "core: find-last-integer -> find-last-integer-from for symmetry"
Doug Coleman [Wed, 27 Jul 2022 03:16:57 +0000 (22:16 -0500)]
Revert "core: find-last-integer -> find-last-integer-from for symmetry"

This reverts commit 27bd3fe046ebec2624b83251be79117a2e132996.

20 months agocore: find-last-integer -> find-last-integer-from for symmetry
Doug Coleman [Tue, 26 Jul 2022 04:36:39 +0000 (23:36 -0500)]
core: find-last-integer -> find-last-integer-from for symmetry

20 months agosequences: fix e/i and i/e and remove maybe-nth with suggestion from
Doug Coleman [Tue, 26 Jul 2022 02:27:47 +0000 (21:27 -0500)]
sequences: fix e/i and i/e and remove maybe-nth with suggestion from
@mrjbq7

20 months agoassocs: assoc-stack-from
Doug Coleman [Mon, 25 Jul 2022 14:14:10 +0000 (09:14 -0500)]
assocs: assoc-stack-from

20 months agosequences: faster filter! and less bounds checking on new find
Doug Coleman [Mon, 25 Jul 2022 04:09:02 +0000 (23:09 -0500)]
sequences: faster filter! and less bounds checking on new find

20 months agosequences: redo find words
Doug Coleman [Sun, 24 Jul 2022 20:21:31 +0000 (15:21 -0500)]
sequences: redo find words

20 months agoassocs: rename (assoc-stack) => search-assoc-stack
Doug Coleman [Sun, 24 Jul 2022 20:20:53 +0000 (15:20 -0500)]
assocs: rename (assoc-stack) => search-assoc-stack

20 months agosequences: remove comment
Doug Coleman [Sun, 24 Jul 2022 14:52:50 +0000 (09:52 -0500)]
sequences: remove comment

20 months agocore: fix naming of sequence-index-operator
Doug Coleman [Sun, 24 Jul 2022 03:17:51 +0000 (22:17 -0500)]
core: fix naming of sequence-index-operator

iterator just sets up indices/nth, operator also composes the quotation

20 months agobase64: don't use new word
Doug Coleman [Sat, 23 Jul 2022 17:22:33 +0000 (12:22 -0500)]
base64: don't use new word

20 months agocore: cramp -> bound (was short)
Doug Coleman [Sat, 23 Jul 2022 17:14:53 +0000 (12:14 -0500)]
core: cramp -> bound (was short)

20 months agocore: map-integers -> map-integers-as
Doug Coleman [Sat, 23 Jul 2022 15:52:13 +0000 (10:52 -0500)]
core: map-integers -> map-integers-as

Follow our naming scheme for words that take exemplars.

20 months agofactor: refactor something
Doug Coleman [Sat, 23 Jul 2022 00:27:03 +0000 (19:27 -0500)]
factor: refactor something

20 months agofactor: alien.c-types:short -> cramp
Doug Coleman [Fri, 22 Jul 2022 22:03:24 +0000 (17:03 -0500)]
factor: alien.c-types:short -> cramp

20 months agobasis: use head-to-index and index-to-tail
Doug Coleman [Fri, 22 Jul 2022 22:03:04 +0000 (17:03 -0500)]
basis: use head-to-index and index-to-tail

20 months agocore: (head) (tail) from-end -> from-tail. add cramp
Doug Coleman [Fri, 22 Jul 2022 21:55:20 +0000 (16:55 -0500)]
core: (head) (tail) from-end -> from-tail. add cramp

20 months agocore: add negate
Doug Coleman [Fri, 22 Jul 2022 20:32:32 +0000 (15:32 -0500)]
core: add negate

20 months agocore: fix stack effect and use new word
Doug Coleman [Fri, 22 Jul 2022 20:32:24 +0000 (15:32 -0500)]
core: fix stack effect and use new word

20 months agocore: rename some words
Doug Coleman [Fri, 22 Jul 2022 15:14:13 +0000 (10:14 -0500)]
core: rename some words

20 months agocore: Better names for (each) etc
Doug Coleman [Fri, 22 Jul 2022 14:56:48 +0000 (09:56 -0500)]
core: Better names for (each) etc

20 months agofactor: use new words
Doug Coleman [Thu, 21 Jul 2022 06:52:08 +0000 (01:52 -0500)]
factor: use new words

20 months agosequences: rename some helper words and subseq/member variants
Doug Coleman [Thu, 21 Jul 2022 06:39:39 +0000 (01:39 -0500)]
sequences: rename some helper words and subseq/member variants

(each-integer) -> each-integer-from
(find-integer) -> find-integer-from
(all-integers?) -> all-integers-from?
subseq == swap find-subseq
add: find-subseq-from subseq-starts-at?

20 months agosequences.extras: faster arg-min and arg-max
John Benediktsson [Sun, 31 Jul 2022 18:19:14 +0000 (11:19 -0700)]
sequences.extras: faster arg-min and arg-max

it doesn't have to iterate through the sequence twice now

20 months agosplitting: simplify using locals/fry
John Benediktsson [Sun, 31 Jul 2022 17:51:06 +0000 (10:51 -0700)]
splitting: simplify using locals/fry

20 months agotokencase: split on graphemes.
John Benediktsson [Sun, 31 Jul 2022 17:39:38 +0000 (10:39 -0700)]
tokencase: split on graphemes.

20 months agoslots: minor tweak to "accessors" article
John Benediktsson [Sun, 31 Jul 2022 17:36:42 +0000 (10:36 -0700)]
slots: minor tweak to "accessors" article

20 months agotools.disassembler: make udis86 pprint words so we can click on them.
John Benediktsson [Sun, 31 Jul 2022 16:27:46 +0000 (09:27 -0700)]
tools.disassembler: make udis86 pprint words so we can click on them.

20 months agoprettyprint: disable NAN unparse on linux/x86-32
John Benediktsson [Sun, 31 Jul 2022 03:07:58 +0000 (20:07 -0700)]
prettyprint: disable NAN unparse on linux/x86-32

20 months agoxml.errors: fix typo
Ikko Ashimine [Sun, 3 Jul 2022 02:28:17 +0000 (11:28 +0900)]
xml.errors: fix typo

occured -> occurred

20 months agomultisets: Basic multiset vocabulary based on avl trees and hashes.
Doug Coleman [Fri, 29 Jul 2022 03:27:20 +0000 (22:27 -0500)]
multisets: Basic multiset vocabulary based on avl trees and hashes.

There's probably a way to do this much much better, but it's a start.

20 months agohttp.server.cgi: normalize cgi path
John Benediktsson [Thu, 28 Jul 2022 16:58:32 +0000 (09:58 -0700)]
http.server.cgi: normalize cgi path

20 months agoOn Windows support HOME environment variable
nomennescio [Wed, 13 Jul 2022 11:32:14 +0000 (13:32 +0200)]
On Windows support HOME environment variable

HOMEPATH and HOMEDRIVE might be set automatically, and HOME can be used to override.
Also HOME is used by several ported commandline utilities to find configuration files.
If the user has set it, he clearly prefers it.

20 months agomath.bits: make zero encode as one false bit.
John Benediktsson [Wed, 27 Jul 2022 22:41:17 +0000 (15:41 -0700)]
math.bits: make zero encode as one false bit.

20 months agotokencase: adding token case conversions
John Benediktsson [Wed, 27 Jul 2022 22:08:18 +0000 (15:08 -0700)]
tokencase: adding token case conversions

21 months agomisc/vim: update core syntax words
John Benediktsson [Wed, 27 Jul 2022 09:01:54 +0000 (02:01 -0700)]
misc/vim: update core syntax words

21 months agostrings.parser: make internal escape words private
John Benediktsson [Wed, 27 Jul 2022 09:01:05 +0000 (02:01 -0700)]
strings.parser: make internal escape words private

21 months agowebapps.pastebin: nicer forms
John Benediktsson [Wed, 27 Jul 2022 08:44:36 +0000 (01:44 -0700)]
webapps.pastebin: nicer forms

21 months agomisc/vim: support octal escapes
John Benediktsson [Tue, 26 Jul 2022 20:13:50 +0000 (13:13 -0700)]
misc/vim: support octal escapes

21 months agomisc: adding octal escapes to syntax test
John Benediktsson [Tue, 26 Jul 2022 20:13:43 +0000 (13:13 -0700)]
misc: adding octal escapes to syntax test

21 months agomisc/vim: update syntax
John Benediktsson [Tue, 26 Jul 2022 20:10:29 +0000 (13:10 -0700)]
misc/vim: update syntax

21 months agostrings.parser: fix bug with octal escape followed by more numbers
John Benediktsson [Tue, 26 Jul 2022 20:06:26 +0000 (13:06 -0700)]
strings.parser: fix bug with octal escape followed by more numbers

21 months agostrings.parser: support octal escapes of 1, 2, or 3 octal digits
John Benediktsson [Tue, 26 Jul 2022 19:58:31 +0000 (12:58 -0700)]
strings.parser: support octal escapes of 1, 2, or 3 octal digits

21 months agoui.theme: remove vocab-background-color and vocab-border-color
John Benediktsson [Tue, 26 Jul 2022 19:26:19 +0000 (12:26 -0700)]
ui.theme: remove vocab-background-color and vocab-border-color

use code-background-color and code-border-color

21 months agoui.theme.base16: adding code-border-color
John Benediktsson [Tue, 26 Jul 2022 08:38:07 +0000 (01:38 -0700)]
ui.theme.base16: adding code-border-color

21 months agohelp.html: remove border color now that it is set.
John Benediktsson [Mon, 25 Jul 2022 21:26:44 +0000 (14:26 -0700)]
help.html: remove border color now that it is set.

21 months agohelp.stylesheet: giving code blocks a border color
John Benediktsson [Mon, 25 Jul 2022 21:17:05 +0000 (14:17 -0700)]
help.stylesheet: giving code blocks a border color

21 months agogeneralizations: remove repeat, to avoid confusion with times.
John Benediktsson [Mon, 25 Jul 2022 21:15:58 +0000 (14:15 -0700)]
generalizations: remove repeat, to avoid confusion with times.

21 months agowordlet: use a file instead of a vocab.
John Benediktsson [Mon, 25 Jul 2022 08:43:33 +0000 (01:43 -0700)]
wordlet: use a file instead of a vocab.

21 months agowordlet: just use a set for everything
Doug Coleman [Tue, 19 Jul 2022 05:56:30 +0000 (00:56 -0500)]
wordlet: just use a set for everything

21 months agozoneinfo: fix parsing of # in europe file. add some unit tests
Doug Coleman [Tue, 19 Jul 2022 04:55:57 +0000 (23:55 -0500)]
zoneinfo: fix parsing of # in europe file. add some unit tests

21 months agowordlet: a wordle-like game
Doug Coleman [Tue, 19 Jul 2022 04:11:20 +0000 (23:11 -0500)]
wordlet: a wordle-like game

as presented to SVFIG in https://www.youtube.com/watch?v=OLh61q4c4XE

21 months agohacker-news: update for dark theme
Doug Coleman [Fri, 8 Jul 2022 22:35:09 +0000 (17:35 -0500)]
hacker-news: update for dark theme

21 months agohelp.html: round other colored boxes
John Benediktsson [Wed, 29 Jun 2022 16:45:29 +0000 (09:45 -0700)]
help.html: round other colored boxes

21 months agohelp.html: more css changes
John Benediktsson [Tue, 28 Jun 2022 17:41:27 +0000 (10:41 -0700)]
help.html: more css changes

21 months agowebapps.pastebin: better colors
John Benediktsson [Tue, 28 Jun 2022 05:44:43 +0000 (22:44 -0700)]
webapps.pastebin: better colors

21 months agowebsites.factorcode: better colors
John Benediktsson [Tue, 28 Jun 2022 04:16:25 +0000 (21:16 -0700)]
websites.factorcode: better colors

21 months agohelp.html: better colors
John Benediktsson [Tue, 28 Jun 2022 04:15:56 +0000 (21:15 -0700)]
help.html: better colors

21 months agohelp.html: bit more style
John Benediktsson [Tue, 28 Jun 2022 03:08:44 +0000 (20:08 -0700)]
help.html: bit more style

21 months agobootstrap.image: remove debugs for now
John Benediktsson [Tue, 28 Jun 2022 02:41:49 +0000 (19:41 -0700)]
bootstrap.image: remove debugs for now

21 months agohelp.html: larger fonts
John Benediktsson [Tue, 28 Jun 2022 02:39:39 +0000 (19:39 -0700)]
help.html: larger fonts

21 months agowebsites.factorcode: larger fonts
John Benediktsson [Tue, 28 Jun 2022 02:37:44 +0000 (19:37 -0700)]
websites.factorcode: larger fonts

22 months agoui.tools.inspector: actually test something
Doug Coleman [Sat, 25 Jun 2022 14:56:36 +0000 (09:56 -0500)]
ui.tools.inspector: actually test something

22 months agoui.tools.inspector: Fix inspector for map-index change.
Doug Coleman [Fri, 24 Jun 2022 23:19:25 +0000 (18:19 -0500)]
ui.tools.inspector: Fix inspector for map-index change.

First casualty of df23a5aeb1de82ebfcf49fc3f653bc1e69d3dab5

22 months agostack-as-data: fix everything.
Doug Coleman [Wed, 22 Jun 2022 20:43:42 +0000 (15:43 -0500)]
stack-as-data: fix everything.

don't develop with disable-optimizer turned on

stack-filter still has a problem with macros:
  https://github.com/factor/factor/issues/2618

22 months agosequences.extras: update nrotate call
Doug Coleman [Wed, 22 Jun 2022 20:16:14 +0000 (15:16 -0500)]
sequences.extras: update nrotate call

22 months agofry2: remove for now
Doug Coleman [Wed, 22 Jun 2022 20:10:04 +0000 (15:10 -0500)]
fry2: remove for now

22 months agostack-as-data: Add combinators that use the stack as a data structure.
Doug Coleman [Wed, 22 Jun 2022 19:57:50 +0000 (14:57 -0500)]
stack-as-data: Add combinators that use the stack as a data structure.

22 months agogeneralizations: add generalizations for tuck/over from top of stack
Doug Coleman [Wed, 22 Jun 2022 19:56:00 +0000 (14:56 -0500)]
generalizations: add generalizations for tuck/over from top of stack

Change the nrotates to nrotated that can dip

22 months agosyntax: Fix spaces
Doug Coleman [Wed, 22 Jun 2022 19:55:26 +0000 (14:55 -0500)]
syntax: Fix spaces

22 months agofry2: Add another implementation of fry
Doug Coleman [Mon, 20 Jun 2022 22:07:54 +0000 (17:07 -0500)]
fry2: Add another implementation of fry

22 months agoio.monitors: bump sleeps in tests
John Benediktsson [Tue, 21 Jun 2022 23:08:23 +0000 (16:08 -0700)]
io.monitors: bump sleeps in tests

22 months agoalien: remove note about 32-bit x86 and document mingw.
John Benediktsson [Tue, 21 Jun 2022 18:44:54 +0000 (11:44 -0700)]
alien: remove note about 32-bit x86 and document mingw.

22 months agobyte-arrays: make docs more clear.
John Benediktsson [Tue, 21 Jun 2022 18:23:51 +0000 (11:23 -0700)]
byte-arrays: make docs more clear.

22 months agomason.release.sign: literals and cross-platform makes it a little weird
John Benediktsson [Mon, 20 Jun 2022 23:22:38 +0000 (16:22 -0700)]
mason.release.sign: literals and cross-platform makes it a little weird

22 months agomason.release.sign: more normalize-path
John Benediktsson [Mon, 20 Jun 2022 22:46:33 +0000 (15:46 -0700)]
mason.release.sign: more normalize-path

22 months agomason.release.sign: normalie paths.
John Benediktsson [Mon, 20 Jun 2022 22:01:39 +0000 (15:01 -0700)]
mason.release.sign: normalie paths.