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

3 years agolexer: reset again.
John Benediktsson [Sat, 21 Nov 2020 05:24:37 +0000 (21:24 -0800)]
lexer: reset again.

3 years agocore: slight revert.
John Benediktsson [Sat, 21 Nov 2020 05:15:58 +0000 (21:15 -0800)]
core: slight revert.

3 years agolexer: revert my string parsing change, that's still TBD.
John Benediktsson [Sat, 21 Nov 2020 05:00:50 +0000 (21:00 -0800)]
lexer: revert my string parsing change, that's still TBD.

3 years agocore: whoops, all these moves got missed.
John Benediktsson [Sat, 21 Nov 2020 04:48:08 +0000 (20:48 -0800)]
core: whoops, all these moves got missed.

3 years agomath.matrices: Fix more docs.
Doug Coleman [Sat, 21 Nov 2020 03:19:26 +0000 (21:19 -0600)]
math.matrices: Fix more docs.

3 years agodocs: fix string issue
Doug Coleman [Fri, 20 Nov 2020 04:21:54 +0000 (22:21 -0600)]
docs: fix string issue

3 years agopeg.ebnf: simplify M\ ebnf-non-terminal (transform) with fry.
John Benediktsson [Fri, 20 Nov 2020 00:54:41 +0000 (16:54 -0800)]
peg.ebnf: simplify M\ ebnf-non-terminal (transform) with fry.

3 years agoclasses.predicate: simplify predicate-quot with fry.
John Benediktsson [Fri, 20 Nov 2020 00:54:11 +0000 (16:54 -0800)]
classes.predicate: simplify predicate-quot with fry.

3 years agocombinators: simplify dispatch-case-quot with fry.
John Benediktsson [Fri, 20 Nov 2020 00:53:52 +0000 (16:53 -0800)]
combinators: simplify dispatch-case-quot with fry.

3 years agoslots: remove uses of "[ ] make".
John Benediktsson [Fri, 20 Nov 2020 00:52:37 +0000 (16:52 -0800)]
slots: remove uses of "[ ] make".

3 years agostrings.parser: fix "string"length bug when parsing strings.
John Benediktsson [Thu, 19 Nov 2020 22:47:36 +0000 (14:47 -0800)]
strings.parser: fix "string"length bug when parsing strings.

It really shouldn't have worked, but it did, now it doesn't.

3 years agofry: simplify some things.
John Benediktsson [Thu, 19 Nov 2020 20:25:04 +0000 (12:25 -0800)]
fry: simplify some things.

3 years agofry: adding support for '{, 'H{, and 'HS{ syntax.
John Benediktsson [Thu, 19 Nov 2020 19:39:30 +0000 (11:39 -0800)]
fry: adding support for '{, 'H{, and 'HS{ syntax.

This is experimental, but allows frying nested sequences (as well as top
level hashtables and hash-sets).

IN: scratchpad 1 2 3 '{ _ V{ _ [ _ ] } } .
{ 1 V{ 2 [ 3 ] } }

3 years agocompiler.tree.debugger: fix location of _.
John Benediktsson [Thu, 19 Nov 2020 05:11:08 +0000 (21:11 -0800)]
compiler.tree.debugger: fix location of _.

3 years agocore: using fry in a few places to see how it works.
John Benediktsson [Thu, 19 Nov 2020 04:41:34 +0000 (20:41 -0800)]
core: using fry in a few places to see how it works.

3 years agomove fry/macros/memoize/locals to core.
John Benediktsson [Thu, 19 Nov 2020 03:52:01 +0000 (19:52 -0800)]
move fry/macros/memoize/locals to core.

Warning: this is not likely to refresh-all and is easier if you do
a new bootstrap with a fresh boot.image.

3 years ago.travis.yml: simplify.
John Benediktsson [Wed, 18 Nov 2020 21:57:55 +0000 (13:57 -0800)]
.travis.yml: simplify.

3 years agoREADME: adding travis graphic.
John Benediktsson [Wed, 18 Nov 2020 21:12:35 +0000 (13:12 -0800)]
README: adding travis graphic.

3 years ago.travis.yml: fix.
John Benediktsson [Wed, 18 Nov 2020 20:45:59 +0000 (12:45 -0800)]
.travis.yml: fix.

3 years agosequences.generalizations: adding docs to ?firstn.
John Benediktsson [Wed, 18 Nov 2020 19:09:17 +0000 (11:09 -0800)]
sequences.generalizations: adding docs to ?firstn.

3 years ago.travis.yml: use vocabs.loader for core vocabs.
John Benediktsson [Wed, 18 Nov 2020 19:05:30 +0000 (11:05 -0800)]
.travis.yml: use vocabs.loader for core vocabs.

3 years agosequences.generalizations: adding ?firstn.
John Benediktsson [Wed, 18 Nov 2020 18:46:13 +0000 (10:46 -0800)]
sequences.generalizations: adding ?firstn.

3 years agoeditors.visual-studio-code-exploration: Add yet another vscode version.
Doug Coleman [Wed, 18 Nov 2020 00:21:25 +0000 (18:21 -0600)]
editors.visual-studio-code-exploration: Add yet another vscode version.

This one is the Apple M1 experimental version.

3 years agoraylib.ffi: can lookup-library instead of find-library.
John Benediktsson [Tue, 17 Nov 2020 19:49:15 +0000 (11:49 -0800)]
raylib.ffi: can lookup-library instead of find-library.