]> gitweb.factorcode.org Git - factor.git/log
factor.git
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.

3 years agoextra: use loop>array in a few places.
John Benediktsson [Mon, 30 Nov 2020 22:31:58 +0000 (14:31 -0800)]
extra: use loop>array in a few places.

3 years agosequences.extras: loop>sequence simplify.
John Benediktsson [Mon, 30 Nov 2020 22:30:31 +0000 (14:30 -0800)]
sequences.extras: loop>sequence simplify.

3 years agocpu.arm.assembler.opcodes: don't use sequences.extras.
John Benediktsson [Mon, 30 Nov 2020 22:01:26 +0000 (14:01 -0800)]
cpu.arm.assembler.opcodes: don't use sequences.extras.

3 years agosequences.extras: make loop>array* use produce.
John Benediktsson [Mon, 30 Nov 2020 21:48:19 +0000 (13:48 -0800)]
sequences.extras: make loop>array* use produce.

3 years agosequences.extras: simplify zero-loop>array.
John Benediktsson [Mon, 30 Nov 2020 21:18:33 +0000 (13:18 -0800)]
sequences.extras: simplify zero-loop>array.

3 years agosequences.extras: make loop>array faster using produce.
John Benediktsson [Mon, 30 Nov 2020 21:01:29 +0000 (13:01 -0800)]
sequences.extras: make loop>array faster using produce.

3 years ago.travis.yml: remove --only.
John Benediktsson [Mon, 30 Nov 2020 20:43:15 +0000 (12:43 -0800)]
.travis.yml: remove --only.

3 years agohelp.lint: remove --only.
John Benediktsson [Mon, 30 Nov 2020 20:43:07 +0000 (12:43 -0800)]
help.lint: remove --only.

3 years agotools.test: remove --only.
John Benediktsson [Mon, 30 Nov 2020 20:43:01 +0000 (12:43 -0800)]
tools.test: remove --only.

3 years agolexer: remove docs for skip.
John Benediktsson [Mon, 30 Nov 2020 20:22:58 +0000 (12:22 -0800)]
lexer: remove docs for skip.

3 years agomisc/vim: parse string types.
John Benediktsson [Mon, 30 Nov 2020 19:15:13 +0000 (11:15 -0800)]
misc/vim: parse string types.

3 years agomisc/atom: parse string types.
John Benediktsson [Mon, 30 Nov 2020 19:14:55 +0000 (11:14 -0800)]
misc/atom: parse string types.

3 years agolexer: change to parse string syntax consistently.
John Benediktsson [Mon, 30 Nov 2020 19:13:34 +0000 (11:13 -0800)]
lexer: change to parse string syntax consistently.

3 years agobuild.sh: allow arch -x86_64 builds on Apple Silicon.
John Benediktsson [Mon, 30 Nov 2020 18:44:07 +0000 (10:44 -0800)]
build.sh: allow arch -x86_64 builds on Apple Silicon.

3 years agosequences.extras: Add loop>array** and document all related words.
Doug Coleman [Sun, 29 Nov 2020 19:43:20 +0000 (13:43 -0600)]
sequences.extras: Add loop>array** and document all related words.

3 years agodb.sqlite: Add some more constants and a way to see which compiler options it's built...
Doug Coleman [Sun, 29 Nov 2020 17:30:51 +0000 (11:30 -0600)]
db.sqlite: Add some more constants and a way to see which compiler options it's built with.

3 years agomakefile: Fix macosx target.
Doug Coleman [Thu, 26 Nov 2020 00:13:29 +0000 (18:13 -0600)]
makefile: Fix macosx target.

3 years agolinux-arm: Update build target.
Doug Coleman [Wed, 25 Nov 2020 15:15:55 +0000 (09:15 -0600)]
linux-arm: Update build target.

3 years agorocksdb.ffi: Add test file that should have been added.
Doug Coleman [Tue, 24 Nov 2020 14:50:30 +0000 (08:50 -0600)]
rocksdb.ffi: Add test file that should have been added.

3 years agorocksdb: Disable test for now.
Doug Coleman [Tue, 24 Nov 2020 14:44:38 +0000 (08:44 -0600)]
rocksdb: Disable test for now.

3 years agomath.statistics: adding some range sum-of tests.
John Benediktsson [Tue, 24 Nov 2020 04:34:13 +0000 (20:34 -0800)]
math.statistics: adding some range sum-of tests.

3 years agomath.statistics: faster sum-of for ranges.
John Benediktsson [Tue, 24 Nov 2020 04:32:52 +0000 (20:32 -0800)]
math.statistics: faster sum-of for ranges.

3 years agomath.statistics: sum-of-squares, sum-of-cubes, sum-of-quads.
John Benediktsson [Tue, 24 Nov 2020 04:27:45 +0000 (20:27 -0800)]
math.statistics: sum-of-squares, sum-of-cubes, sum-of-quads.

Also, meanest.

3 years agocpu.arm.assembler: fix vocab name.
John Benediktsson [Tue, 24 Nov 2020 03:31:23 +0000 (19:31 -0800)]
cpu.arm.assembler: fix vocab name.

3 years agosystem: add arm targets.
Doug Coleman [Tue, 24 Nov 2020 03:07:55 +0000 (21:07 -0600)]
system: add arm targets.

3 years agovm: Make macos almost compile.
Doug Coleman [Tue, 24 Nov 2020 01:51:40 +0000 (19:51 -0600)]
vm: Make macos almost compile.

To fully compile mach_signal.cpp needs a fix.

3 years agovm: Add more arm files.
Doug Coleman [Tue, 24 Nov 2020 01:42:08 +0000 (19:42 -0600)]
vm: Add more arm files.

3 years agobootstrap.image: Add more image targets to build.
Doug Coleman [Tue, 24 Nov 2020 01:28:46 +0000 (19:28 -0600)]
bootstrap.image: Add more image targets to build.

3 years agobootstrap.assember: Add arm files. They don't work yet.
Doug Coleman [Tue, 24 Nov 2020 01:16:25 +0000 (19:16 -0600)]
bootstrap.assember: Add arm files. They don't work yet.

3 years agoGNUMakefile: Add linux and macos arm64 targets.
Doug Coleman [Tue, 24 Nov 2020 01:14:05 +0000 (19:14 -0600)]
GNUMakefile: Add linux and macos arm64 targets.

3 years agovm: Add a bunch of half-baked arm files. Also fix some .h issues.
Doug Coleman [Tue, 24 Nov 2020 01:01:26 +0000 (19:01 -0600)]
vm: Add a bunch of half-baked arm files. Also fix some .h issues.

3 years agocpu.arm: Add assembler from arm64 branch.
Doug Coleman [Tue, 24 Nov 2020 00:47:31 +0000 (18:47 -0600)]
cpu.arm: Add assembler from arm64 branch.

Please contribute if this assembler interests you.

3 years agocpu.arm.assembler: Rename slava's old arm assembler to cpu.arm32.assembler
Doug Coleman [Tue, 24 Nov 2020 00:46:39 +0000 (18:46 -0600)]
cpu.arm.assembler: Rename slava's old arm assembler to cpu.arm32.assembler

3 years ago.travis.yml: exclude some branches.
John Benediktsson [Tue, 24 Nov 2020 00:34:36 +0000 (16:34 -0800)]
.travis.yml: exclude some branches.

3 years agoRevert ".travis.yml: adding test of resource:basis."
John Benediktsson [Tue, 24 Nov 2020 00:19:45 +0000 (16:19 -0800)]
Revert ".travis.yml: adding test of resource:basis."

This reverts commit 0c8a7d90a7e88cbc835f05462e8e06c7c2a393c4.

3 years agoRevert "peg: make check-action inline."
John Benediktsson [Tue, 24 Nov 2020 00:16:13 +0000 (16:16 -0800)]
Revert "peg: make check-action inline."

This reverts commit 58aced026273bb9d0df8278db8030b9eb1da9370.

3 years ago.travis.yml: adding test of resource:basis.
John Benediktsson [Tue, 24 Nov 2020 00:09:54 +0000 (16:09 -0800)]
.travis.yml: adding test of resource:basis.

3 years agopeg: fix (parse) to not compile every time it's called.
John Benediktsson [Mon, 23 Nov 2020 22:23:10 +0000 (14:23 -0800)]
peg: fix (parse) to not compile every time it's called.

3 years agopeg: make check-action inline.
John Benediktsson [Mon, 23 Nov 2020 21:28:59 +0000 (13:28 -0800)]
peg: make check-action inline.

3 years agopeg.parsers: make range-pattern more efficient for single characters.
John Benediktsson [Mon, 23 Nov 2020 21:27:21 +0000 (13:27 -0800)]
peg.parsers: make range-pattern more efficient for single characters.

3 years agopeg.ebnf: don't need to use syntax words.
John Benediktsson [Mon, 23 Nov 2020 21:25:51 +0000 (13:25 -0800)]
peg.ebnf: don't need to use syntax words.

3 years agopeg: document (repeat) stack effect can return f.
John Benediktsson [Mon, 23 Nov 2020 19:10:25 +0000 (11:10 -0800)]
peg: document (repeat) stack effect can return f.

3 years agobittorrent: Add a magnet tuple.
Doug Coleman [Mon, 23 Nov 2020 01:13:50 +0000 (19:13 -0600)]
bittorrent: Add a magnet tuple.

3 years agorocksdb: Initial binding.
Doug Coleman [Sun, 22 Nov 2020 21:22:37 +0000 (15:22 -0600)]
rocksdb: Initial binding.

3 years agohelp.lint.checks: ignore a few more, for command-line help.lint.
John Benediktsson [Sun, 22 Nov 2020 19:28:39 +0000 (11:28 -0800)]
help.lint.checks: ignore a few more, for command-line help.lint.

3 years agotools.test: make sure to skip don't-test? vocabs.
John Benediktsson [Sun, 22 Nov 2020 18:42:21 +0000 (10:42 -0800)]
tools.test: make sure to skip don't-test? vocabs.

3 years ago.travis.yml: fix using.
John Benediktsson [Sun, 22 Nov 2020 18:19:28 +0000 (10:19 -0800)]
.travis.yml: fix using.

3 years agotools.test/help.lint: use vocab-roots instead of resource: head?
John Benediktsson [Sun, 22 Nov 2020 17:24:35 +0000 (09:24 -0800)]
tools.test/help.lint: use vocab-roots instead of resource: head?

3 years ago.travis.yml: load all basis, test core, help-lint core and basis.
John Benediktsson [Sun, 22 Nov 2020 17:15:56 +0000 (09:15 -0800)]
.travis.yml: load all basis, test core, help-lint core and basis.

3 years agotools.test/help.lint: use vocabs-to-load.
John Benediktsson [Sun, 22 Nov 2020 17:15:38 +0000 (09:15 -0800)]
tools.test/help.lint: use vocabs-to-load.

3 years agohelp.lint.checks: a few more ignorables.
John Benediktsson [Sun, 22 Nov 2020 17:15:24 +0000 (09:15 -0800)]
help.lint.checks: a few more ignorables.

3 years agofry: fix $values for fry.
John Benediktsson [Sun, 22 Nov 2020 17:03:05 +0000 (09:03 -0800)]
fry: fix $values for fry.

3 years agosequences: fix example in join-as.
John Benediktsson [Sun, 22 Nov 2020 15:34:21 +0000 (07:34 -0800)]
sequences: fix example in join-as.

3 years ago.travis.yml: test only resource:core.
John Benediktsson [Sun, 22 Nov 2020 04:42:03 +0000 (20:42 -0800)]
.travis.yml: test only resource:core.

3 years agohelp.lint: lookup vocab-root.
John Benediktsson [Sun, 22 Nov 2020 04:41:14 +0000 (20:41 -0800)]
help.lint: lookup vocab-root.

3 years agohelp.lint: use require-all.
John Benediktsson [Sun, 22 Nov 2020 04:32:49 +0000 (20:32 -0800)]
help.lint: use require-all.

3 years agohelp.lint: changing command-line to add --only and do load/help-lint each.
John Benediktsson [Sun, 22 Nov 2020 04:29:54 +0000 (20:29 -0800)]
help.lint: changing command-line to add --only and do load/help-lint each.

3 years agodb.sqlite: fix string.
John Benediktsson [Sat, 21 Nov 2020 18:24:12 +0000 (10:24 -0800)]
db.sqlite: fix string.

3 years agohelp.lint.coverage: fix string.
John Benediktsson [Sat, 21 Nov 2020 18:23:36 +0000 (10:23 -0800)]
help.lint.coverage: fix string.

3 years agoA few more fixes for string parsing.
John Benediktsson [Sat, 21 Nov 2020 16:47:08 +0000 (08:47 -0800)]
A few more fixes for string parsing.

3 years agofry: fix help-lint for fry.
John Benediktsson [Sat, 21 Nov 2020 16:45:18 +0000 (08:45 -0800)]
fry: fix help-lint for fry.

3 years agomatch: fix tests.
John Benediktsson [Sat, 21 Nov 2020 16:45:04 +0000 (08:45 -0800)]
match: fix tests.

3 years agoformatting: simplify EBNF.
John Benediktsson [Sat, 21 Nov 2020 16:44:34 +0000 (08:44 -0800)]
formatting: simplify EBNF.