]> gitweb.factorcode.org Git - factor.git/log
factor.git
3 years agomisc/vim: generate syntax.
John Benediktsson [Sat, 12 Dec 2020 23:15:12 +0000 (15:15 -0800)]
misc/vim: generate syntax.

3 years agotools.cal: remove tests.
John Benediktsson [Sat, 12 Dec 2020 23:14:52 +0000 (15:14 -0800)]
tools.cal: remove tests.

3 years agosequences: improving cartesian-product to return type of original sequences.
John Benediktsson [Sat, 12 Dec 2020 17:38:33 +0000 (09:38 -0800)]
sequences: improving cartesian-product to return type of original sequences.

Adding cartesian-product-as for cases where you don't want that.

3 years agojson.reader: rename read-json-objects to read-json.
John Benediktsson [Fri, 11 Dec 2020 23:37:53 +0000 (15:37 -0800)]
json.reader: rename read-json-objects to read-json.

3 years agocalendar: add some tests for time-.
John Benediktsson [Fri, 11 Dec 2020 21:45:09 +0000 (13:45 -0800)]
calendar: add some tests for time-.

3 years agocalendar: rename >local back to >local-time.
John Benediktsson [Fri, 11 Dec 2020 21:43:46 +0000 (13:43 -0800)]
calendar: rename >local back to >local-time.

Sorry for the churn!

3 years agoslots.syntax: moving to basis/
John Benediktsson [Fri, 11 Dec 2020 17:58:09 +0000 (09:58 -0800)]
slots.syntax: moving to basis/

3 years agocalendar: no need to use sequences.rotated.
John Benediktsson [Fri, 11 Dec 2020 17:56:35 +0000 (09:56 -0800)]
calendar: no need to use sequences.rotated.

3 years agomath.combinatorics: fix $values for all-selections.
John Benediktsson [Fri, 11 Dec 2020 17:24:23 +0000 (09:24 -0800)]
math.combinatorics: fix $values for all-selections.

3 years agomath: rename selections to all-selections.
John Benediktsson [Fri, 11 Dec 2020 17:20:34 +0000 (09:20 -0800)]
math: rename selections to all-selections.

Add each-/map-/filter-/all-/all-?/find-/reduce-selections.

3 years agocalendar: speed up time+.
John Benediktsson [Fri, 11 Dec 2020 16:51:04 +0000 (08:51 -0800)]
calendar: speed up time+.

Rename >local-time to >local.

3 years agosequences: change replace-slice to return type of seq again.
John Benediktsson [Fri, 11 Dec 2020 16:49:27 +0000 (08:49 -0800)]
sequences: change replace-slice to return type of seq again.

3 years agoRevert "sequences: change test case for replace-slice."
John Benediktsson [Fri, 11 Dec 2020 16:48:54 +0000 (08:48 -0800)]
Revert "sequences: change test case for replace-slice."

This reverts commit 4bc65928de940c37155ccd78d1dd23996516f34d.

3 years agocalendar.parser: use duration*.
John Benediktsson [Fri, 11 Dec 2020 07:15:07 +0000 (23:15 -0800)]
calendar.parser: use duration*.

3 years agocalendar: faster /rem.
John Benediktsson [Fri, 11 Dec 2020 07:12:16 +0000 (23:12 -0800)]
calendar: faster /rem.

3 years agounix.time: better struct slot names for timezone.
John Benediktsson [Fri, 11 Dec 2020 07:11:50 +0000 (23:11 -0800)]
unix.time: better struct slot names for timezone.

3 years agocalendar: use now in some places instead of now-gmt.
John Benediktsson [Fri, 11 Dec 2020 06:28:13 +0000 (22:28 -0800)]
calendar: use now in some places instead of now-gmt.

3 years agocalendar: fix docs.
John Benediktsson [Fri, 11 Dec 2020 06:28:06 +0000 (22:28 -0800)]
calendar: fix docs.

3 years agoRevert "calendar: make now faster, remove now-gmt."
John Benediktsson [Fri, 11 Dec 2020 06:26:20 +0000 (22:26 -0800)]
Revert "calendar: make now faster, remove now-gmt."

This reverts commit 2b025836055ee7a59a8b3d7cb8946c7ed0a050f0.

3 years agocalendar: make now faster, remove now-gmt.
John Benediktsson [Fri, 11 Dec 2020 06:23:47 +0000 (22:23 -0800)]
calendar: make now faster, remove now-gmt.

3 years agocalendar: simplify am/pm.
John Benediktsson [Fri, 11 Dec 2020 05:48:55 +0000 (21:48 -0800)]
calendar: simplify am/pm.

3 years agocalendar: rename time* to duration*.
John Benediktsson [Fri, 11 Dec 2020 05:44:11 +0000 (21:44 -0800)]
calendar: rename time* to duration*.

3 years agocalendar: 12am is midnight, 12pm is noon.
John Benediktsson [Fri, 11 Dec 2020 05:35:05 +0000 (21:35 -0800)]
calendar: 12am is midnight, 12pm is noon.

3 years agocalendar: simplify (time+).
John Benediktsson [Fri, 11 Dec 2020 05:27:49 +0000 (21:27 -0800)]
calendar: simplify (time+).

3 years agocalendar: fix tests for nth-day-of-month.
John Benediktsson [Fri, 11 Dec 2020 05:27:31 +0000 (21:27 -0800)]
calendar: fix tests for nth-day-of-month.

3 years agocalendar: simplify time-since-midnight.
John Benediktsson [Fri, 11 Dec 2020 05:23:29 +0000 (21:23 -0800)]
calendar: simplify time-since-midnight.

3 years agocalendar: fix nth-day-this-month to mutate.
John Benediktsson [Fri, 11 Dec 2020 05:17:45 +0000 (21:17 -0800)]
calendar: fix nth-day-this-month to mutate.

3 years agocalendar: fix more words to be mutating.
John Benediktsson [Fri, 11 Dec 2020 05:14:05 +0000 (21:14 -0800)]
calendar: fix more words to be mutating.

3 years agocalendar: more cleanup.
John Benediktsson [Fri, 11 Dec 2020 04:54:43 +0000 (20:54 -0800)]
calendar: more cleanup.

3 years agosequences: change test case for replace-slice.
John Benediktsson [Fri, 11 Dec 2020 04:30:32 +0000 (20:30 -0800)]
sequences: change test case for replace-slice.

3 years agobootstrap: change stage1 to do a load-all of resource:core.
John Benediktsson [Fri, 11 Dec 2020 04:26:34 +0000 (20:26 -0800)]
bootstrap: change stage1 to do a load-all of resource:core.

3 years agocalendar: cleanup some of the API by making words mutate timestamps.
John Benediktsson [Fri, 11 Dec 2020 04:20:15 +0000 (20:20 -0800)]
calendar: cleanup some of the API by making words mutate timestamps.

Instead of ``foo-gmt``, you can now do ``foo gmt``.

If you want to not mutate, you can clone the timestamp.

3 years agocalendar: rename convert-timezone back.
John Benediktsson [Fri, 11 Dec 2020 02:06:01 +0000 (18:06 -0800)]
calendar: rename convert-timezone back.

3 years agosequences.extras: fix docs for pad-center.
John Benediktsson [Fri, 11 Dec 2020 01:28:09 +0000 (17:28 -0800)]
sequences.extras: fix docs for pad-center.

3 years agomisc/vim: generate syntax.
John Benediktsson [Fri, 11 Dec 2020 01:26:28 +0000 (17:26 -0800)]
misc/vim: generate syntax.

3 years agosequences: fix docs for reversed.
John Benediktsson [Fri, 11 Dec 2020 01:25:54 +0000 (17:25 -0800)]
sequences: fix docs for reversed.

3 years agosequences.extras: simplify pad-center, add docs.
John Benediktsson [Fri, 11 Dec 2020 01:12:20 +0000 (17:12 -0800)]
sequences.extras: simplify pad-center, add docs.

3 years agosequences: make padding private, add docs.
John Benediktsson [Fri, 11 Dec 2020 01:10:55 +0000 (17:10 -0800)]
sequences: make padding private, add docs.

3 years agosequences: adding surround-as and glue-as.
John Benediktsson [Fri, 11 Dec 2020 01:02:53 +0000 (17:02 -0800)]
sequences: adding surround-as and glue-as.

3 years agocalendar.format: more tests.
John Benediktsson [Fri, 11 Dec 2020 00:11:08 +0000 (16:11 -0800)]
calendar.format: more tests.

3 years agocalendar.format: adding tests.
John Benediktsson [Thu, 10 Dec 2020 23:58:34 +0000 (15:58 -0800)]
calendar.format: adding tests.

3 years agocalendar.format: fix duration>hms handling of seconds.
John Benediktsson [Thu, 10 Dec 2020 23:53:41 +0000 (15:53 -0800)]
calendar.format: fix duration>hms handling of seconds.

3 years agocalendar: adding >local-time! and some docs.
John Benediktsson [Thu, 10 Dec 2020 23:40:45 +0000 (15:40 -0800)]
calendar: adding >local-time! and some docs.

3 years agocalendar: remove normalize-timestamp, cleanup convert-timezone.
John Benediktsson [Thu, 10 Dec 2020 23:11:04 +0000 (15:11 -0800)]
calendar: remove normalize-timestamp, cleanup convert-timezone.

3 years agocalendar: rename zeller-congruence to (day-of-week).
John Benediktsson [Thu, 10 Dec 2020 22:37:16 +0000 (14:37 -0800)]
calendar: rename zeller-congruence to (day-of-week).

3 years agocalendar.format: simplify month.
John Benediktsson [Thu, 10 Dec 2020 22:29:08 +0000 (14:29 -0800)]
calendar.format: simplify month.

3 years agocalendar.format: format year. in 3 columns, use in tools.cal.
John Benediktsson [Thu, 10 Dec 2020 22:26:58 +0000 (14:26 -0800)]
calendar.format: format year. in 3 columns, use in tools.cal.

3 years agocalendar.elapsed: moving words to calendar.format.
John Benediktsson [Thu, 10 Dec 2020 20:55:10 +0000 (12:55 -0800)]
calendar.elapsed: moving words to calendar.format.

3 years agocalendar.elapsed: change elapsed-time to be integer seconds.
John Benediktsson [Thu, 10 Dec 2020 20:42:32 +0000 (12:42 -0800)]
calendar.elapsed: change elapsed-time to be integer seconds.

3 years agocalendar.format: adding ctime format.
John Benediktsson [Thu, 10 Dec 2020 19:16:40 +0000 (11:16 -0800)]
calendar.format: adding ctime format.

3 years agologging: delete old test logs.
John Benediktsson [Thu, 10 Dec 2020 03:22:13 +0000 (19:22 -0800)]
logging: delete old test logs.

3 years agostrings.parser: fix blank.
John Benediktsson [Thu, 10 Dec 2020 03:10:39 +0000 (19:10 -0800)]
strings.parser: fix blank.

3 years agologging.server: use rfc3339.
John Benediktsson [Thu, 10 Dec 2020 03:08:32 +0000 (19:08 -0800)]
logging.server: use rfc3339.

3 years agotools.deploy: fix test.
John Benediktsson [Thu, 10 Dec 2020 03:03:10 +0000 (19:03 -0800)]
tools.deploy: fix test.

3 years agologging: fix uses of (timestamp>string).
John Benediktsson [Wed, 9 Dec 2020 23:35:24 +0000 (15:35 -0800)]
logging: fix uses of (timestamp>string).

3 years agocalendar: some cleanup to format and parser.
John Benediktsson [Wed, 9 Dec 2020 05:15:04 +0000 (21:15 -0800)]
calendar: some cleanup to format and parser.

3 years agoeditors.vim.generate-syntax: adding summary.txt.
John Benediktsson [Tue, 8 Dec 2020 03:24:08 +0000 (19:24 -0800)]
editors.vim.generate-syntax: adding summary.txt.

3 years agobase24: adding base24 encoding.
John Benediktsson [Mon, 7 Dec 2020 23:32:19 +0000 (15:32 -0800)]
base24: adding base24 encoding.

https://www.kuon.ch/post/2020-02-27-base24/

3 years agotalks.hmc-talk: adding some slides I used recently.
John Benediktsson [Mon, 7 Dec 2020 23:01:09 +0000 (15:01 -0800)]
talks.hmc-talk: adding some slides I used recently.

3 years agoimages.processing.rotation: resurrecting from factor-unmaintained.
John Benediktsson [Mon, 7 Dec 2020 22:51:40 +0000 (14:51 -0800)]
images.processing.rotation: resurrecting from factor-unmaintained.

3 years agoimages.jpeg: resurrecting from factor-unmaintained.
John Benediktsson [Mon, 7 Dec 2020 22:49:21 +0000 (14:49 -0800)]
images.jpeg: resurrecting from factor-unmaintained.

3 years agostrings.parser: use single quotes around got.
John Benediktsson [Mon, 7 Dec 2020 21:17:47 +0000 (13:17 -0800)]
strings.parser: use single quotes around got.

3 years agostrings.parser: use unexpected instead of string errors.
John Benediktsson [Mon, 7 Dec 2020 21:13:36 +0000 (13:13 -0800)]
strings.parser: use unexpected instead of string errors.

3 years agomisc/vim: generate syntax.
John Benediktsson [Mon, 7 Dec 2020 20:50:18 +0000 (12:50 -0800)]
misc/vim: generate syntax.

3 years agosets: fix stack effect for gather.
John Benediktsson [Mon, 7 Dec 2020 20:45:09 +0000 (12:45 -0800)]
sets: fix stack effect for gather.

3 years agosets: update tests.
John Benediktsson [Mon, 7 Dec 2020 20:17:34 +0000 (12:17 -0800)]
sets: update tests.

3 years agosets: remove intersection in favor of refine.
John Benediktsson [Mon, 7 Dec 2020 20:14:04 +0000 (12:14 -0800)]
sets: remove intersection in favor of refine.

For now, combine/refine probably need better names... maybe
    union-of/intersection-of
    union-all/intersect-all

3 years agokernel: adding execute( and call( text to execute and call.
John Benediktsson [Mon, 7 Dec 2020 20:13:35 +0000 (12:13 -0800)]
kernel: adding execute( and call( text to execute and call.

3 years agoregexp.disambiguate: use sets:refine.
John Benediktsson [Mon, 7 Dec 2020 20:12:56 +0000 (12:12 -0800)]
regexp.disambiguate: use sets:refine.

3 years agomisc/vim: update syntax.
John Benediktsson [Mon, 7 Dec 2020 19:57:45 +0000 (11:57 -0800)]
misc/vim: update syntax.

3 years agomath: related-words for until-zero.
John Benediktsson [Mon, 7 Dec 2020 19:57:06 +0000 (11:57 -0800)]
math: related-words for until-zero.

3 years agomath: using until-zero in a few places.
John Benediktsson [Mon, 7 Dec 2020 18:28:08 +0000 (10:28 -0800)]
math: using until-zero in a few places.

3 years agomath.extras: moving until-zero to math.
John Benediktsson [Mon, 7 Dec 2020 18:25:52 +0000 (10:25 -0800)]
math.extras: moving until-zero to math.

3 years agokernel: fix stack effect for keepd family.
John Benediktsson [Sun, 6 Dec 2020 23:05:23 +0000 (15:05 -0800)]
kernel: fix stack effect for keepd family.

3 years agovm: Move arm to arm64.
Doug Coleman [Sat, 5 Dec 2020 01:09:15 +0000 (19:09 -0600)]
vm: Move arm to arm64.

3 years agobootstrap.assembler: Move arm code to arm.64. We can dedup it with arm.32 someday
Doug Coleman [Sat, 5 Dec 2020 00:48:48 +0000 (18:48 -0600)]
bootstrap.assembler: Move arm code to arm.64. We can dedup it with arm.32 someday

Add four missing special-objects that were not defined.

3 years agobase58: adding base58-check.
John Benediktsson [Fri, 4 Dec 2020 18:56:22 +0000 (10:56 -0800)]
base58: adding base58-check.

3 years agoGNUMakefile: use $BUNDLE name.
John Benediktsson [Fri, 4 Dec 2020 18:33:19 +0000 (10:33 -0800)]
GNUMakefile: use $BUNDLE name.

3 years agobase58: adding base58 encoding (used by bitcoin).
John Benediktsson [Fri, 4 Dec 2020 18:32:13 +0000 (10:32 -0800)]
base58: adding base58 encoding (used by bitcoin).

3 years agofactor-console: Add default argument to bootstrap.
Doug Coleman [Thu, 3 Dec 2020 01:26:30 +0000 (19:26 -0600)]
factor-console: Add default argument to bootstrap.

3 years agovocabs.loader: errorlist can be public
Doug Coleman [Thu, 3 Dec 2020 00:53:32 +0000 (18:53 -0600)]
vocabs.loader: errorlist can be public

3 years agoentitlements: ``man mmap`` says the jit entitlement is required for MAP_JIT
Doug Coleman [Thu, 3 Dec 2020 00:34:15 +0000 (18:34 -0600)]
entitlements: ``man mmap`` says the jit entitlement is required for MAP_JIT

3 years agoos-unix: Add MAP_JIT for apple arm64
Doug Coleman [Thu, 3 Dec 2020 00:16:27 +0000 (18:16 -0600)]
os-unix: Add MAP_JIT for apple arm64

3 years agomason.test: blacklist -> errorlist
Doug Coleman [Wed, 2 Dec 2020 23:23:06 +0000 (17:23 -0600)]
mason.test: blacklist -> errorlist

3 years agoXcode: add an xcode project that can build the VM for arm64.
Doug Coleman [Wed, 2 Dec 2020 22:58:15 +0000 (16:58 -0600)]
Xcode: add an xcode project that can build the VM for arm64.

We aren't going to make it depend on Xcode, but it can be optional.

3 years ago.gitignore: Ignore xcode user settings.
Doug Coleman [Wed, 2 Dec 2020 22:54:15 +0000 (16:54 -0600)]
.gitignore: Ignore xcode user settings.

3 years agovm: Cast cell to int for some C++ functions.
Doug Coleman [Wed, 2 Dec 2020 22:38:25 +0000 (16:38 -0600)]
vm: Cast cell to int for some C++ functions.

3 years agobignum.cpp: Fix size warning.
Doug Coleman [Wed, 2 Dec 2020 22:37:53 +0000 (16:37 -0600)]
bignum.cpp: Fix size warning.

3 years agovm: Use size_t and off_t in a couple of places. Found by Xcode.
Doug Coleman [Wed, 2 Dec 2020 22:37:22 +0000 (16:37 -0600)]
vm: Use size_t and off_t in a couple of places. Found by Xcode.

3 years agomaster.hpp: Define FACTOR64 on arm64
Doug Coleman [Wed, 2 Dec 2020 22:34:12 +0000 (16:34 -0600)]
master.hpp: Define FACTOR64 on arm64

3 years agovm: use EXC_ARM_FP_DZ on macosx-arm64.
John Benediktsson [Wed, 2 Dec 2020 21:28:15 +0000 (13:28 -0800)]
vm: use EXC_ARM_FP_DZ on macosx-arm64.

3 years agovm: fix log2 for arm64.
John Benediktsson [Wed, 2 Dec 2020 21:16:45 +0000 (13:16 -0800)]
vm: fix log2 for arm64.

3 years agovocabs.loader: rename blacklist to errorlist.
John Benediktsson [Wed, 2 Dec 2020 20:55:10 +0000 (12:55 -0800)]
vocabs.loader: rename blacklist to errorlist.

3 years agokernel: remove duplicate IN:
John Benediktsson [Wed, 2 Dec 2020 20:02:59 +0000 (12:02 -0800)]
kernel: remove duplicate IN:

3 years agosequences.product: additional product-find test.
John Benediktsson [Wed, 2 Dec 2020 19:34:42 +0000 (11:34 -0800)]
sequences.product: additional product-find test.

3 years agosequences.product: fix product-find.
John Benediktsson [Wed, 2 Dec 2020 16:03:37 +0000 (08:03 -0800)]
sequences.product: fix product-find.

3 years agosequences.product: fix a typo/error in product-find docs
Benjamin Pollack [Wed, 2 Dec 2020 13:57:43 +0000 (08:57 -0500)]
sequences.product: fix a typo/error in product-find docs

3 years agosequences.extras: fix example for loop>sequence.
John Benediktsson [Tue, 1 Dec 2020 22:36:45 +0000 (14:36 -0800)]
sequences.extras: fix example for loop>sequence.

3 years agobuild.sh: Remove duplicate case for arm64.
Doug Coleman [Tue, 1 Dec 2020 00:42:26 +0000 (18:42 -0600)]
build.sh: Remove duplicate case for arm64.

3 years agocore-foundation.fsevents: more constants.
John Benediktsson [Mon, 30 Nov 2020 23:36:11 +0000 (15:36 -0800)]
core-foundation.fsevents: more constants.