]>
gitweb.factorcode.org Git - factor.git/log
Niklas Larsson [Thu, 31 Oct 2019 12:41:22 +0000 (13:41 +0100)]
Don't use rm from the nmake build.
John Benediktsson [Sun, 24 Nov 2019 23:43:29 +0000 (15:43 -0800)]
tensors: fix help-lint warnings.
Nandeeka Nayak [Tue, 29 Oct 2019 17:09:38 +0000 (10:09 -0700)]
tensors: create basic tensors vocabulary.
tensors: create tensors vocabulary.
tensors: create file heading
tensors: define tensor constructor.
tensors: add additional constructors.
tensors: add reshaping.
tensors: implement add and include tests.
tensors: add binary operations.
tensors: add scalar multiply.
tensors: added >array functionality
tensors: tests for >array
tensors: unit tests fix
tensors: use more idiomatic >array.
tensors: add multi-methods for scalar multiplication.
tensors: cleaned up >array
tensors: combine a few constructors
tensors: added dims function and unit tests.
tensors: add documentation capabilities.
tensors: added multi-methods for scalar addition/subtraction/division
help.lint.coverage: fix for shadowing "empty" word; prevent the other test-only words from being shadowed too
soundex: move to extra as it's unused; fix authors.txt filename
modify arange to match numpy; replace with naturals
create >float-array for efficient float array construction
use combinators
tensors: documentation added for public functions.
tensors: implement t% and matrix multiplication.
tensors: add slice with non-zero step
tensors: add documentation.
tensors: added transposition funcitonality, with documentation and tests
tensors: add error documentation.
Add error documentation
tensors: fix matmul documentation.
extra/tensors: add tests for arange
tensors: make transpose style more similar
tensors: make some of the PR changes.
tensors: separate shape checking.
tensors: add documentation for non-positive-shape-error.
tensors: add missing comment.
tensors: transpose edits for efficiency
Doug Coleman [Sun, 17 Nov 2019 00:58:36 +0000 (18:58 -0600)]
Add description of '-help' switch to documentation. (#2221)
Alexander Iljin [Thu, 14 Nov 2019 18:03:13 +0000 (19:03 +0100)]
random.passwords: new vocab
Cat Stevens [Sun, 10 Nov 2019 00:56:24 +0000 (19:56 -0500)]
soundex: move to extra as it's unused; fix authors.txt filename
Cat Stevens [Sat, 9 Nov 2019 22:08:24 +0000 (17:08 -0500)]
help.lint.coverage: fix for shadowing "empty" word; prevent the other test-only words from being shadowed too
John Benediktsson [Sat, 9 Nov 2019 18:02:29 +0000 (10:02 -0800)]
llvm.ffi: adding LLVMBuildMul.
nomennescio [Fri, 8 Nov 2019 12:58:33 +0000 (13:58 +0100)]
Add description of '-help' switch to documentation.
John Benediktsson [Fri, 8 Nov 2019 05:43:22 +0000 (21:43 -0800)]
math.extras: don't shadow B (breakpoint).
John Benediktsson [Fri, 8 Nov 2019 05:32:07 +0000 (21:32 -0800)]
math.extras: adding integer-sqrt.
John Benediktsson [Thu, 7 Nov 2019 21:13:05 +0000 (13:13 -0800)]
tools.test: add silent-tests? that hides unit-tests.
John Benediktsson [Thu, 7 Nov 2019 17:57:21 +0000 (09:57 -0800)]
ui.tools.listener: better future-proofing with code-completion class.
John Benediktsson [Thu, 7 Nov 2019 04:16:48 +0000 (20:16 -0800)]
project-euler.common: cleanup.
John Benediktsson [Thu, 7 Nov 2019 04:12:55 +0000 (20:12 -0800)]
math.primes.factors: flush in unix-factor.
John Benediktsson [Thu, 7 Nov 2019 04:05:53 +0000 (20:05 -0800)]
project-euler: cleanup main vocab, don't USE: the children.
John Benediktsson [Thu, 7 Nov 2019 04:00:53 +0000 (20:00 -0800)]
project-euler.064: adding description and SOLUTION:.
John Benediktsson [Thu, 7 Nov 2019 03:56:56 +0000 (19:56 -0800)]
project-euler.087: adding description and SOLUTION:.
John Benediktsson [Thu, 7 Nov 2019 03:40:37 +0000 (19:40 -0800)]
math.floats.half: improve the roundtrip of subnormal float16.
John Benediktsson [Thu, 7 Nov 2019 02:17:29 +0000 (18:17 -0800)]
benchmark.cuckoo-filters: adding a new benchmark.
John Benediktsson [Wed, 6 Nov 2019 22:13:13 +0000 (14:13 -0800)]
classes.union: faster builtin-class check, for example sequence?.
John Benediktsson [Wed, 6 Nov 2019 20:16:19 +0000 (12:16 -0800)]
ui.tools.listener: handle history-completion popup differently.
John Benediktsson [Wed, 6 Nov 2019 20:03:01 +0000 (12:03 -0800)]
math.extras: adding a more exact sum for floats.
John Benediktsson [Wed, 6 Nov 2019 17:29:31 +0000 (09:29 -0800)]
ui.tools.listener: close completion-popup when completion-mode changes.
John Benediktsson [Wed, 6 Nov 2019 16:12:39 +0000 (08:12 -0800)]
command-line.startup: adding version argument.
$ ./factor -version
Factor 0.99
John Benediktsson [Wed, 6 Nov 2019 16:09:16 +0000 (08:09 -0800)]
listener: adding quiet mode.
This skips printing the version info when starting the listener.
./factor -q
./factor -q -run=listener
./factor -q -run=readline-listener
Cat Stevens [Sun, 3 Nov 2019 18:41:45 +0000 (13:41 -0500)]
basis/system-info.linux: fix test for Linux kernel 5.x
John Benediktsson [Tue, 5 Nov 2019 18:19:32 +0000 (10:19 -0800)]
math.functions: adding e^-1.
This is for calculating e^x-1 for small values more accurately. You can also
call expm1(x) function if you want, and it's available on your platform.
FUNCTION: double expm1 ( double x )
John Benediktsson [Thu, 31 Oct 2019 21:55:47 +0000 (14:55 -0700)]
spelling: minor cleanup.
John Benediktsson [Thu, 31 Oct 2019 17:45:54 +0000 (10:45 -0700)]
math.intervals: workaround possible compiler bug by widening interval-bitor.
IN: scratchpad [
{ byte-array } declare
[ 0 alien-unsigned-4 32 shift ]
[ 4 alien-unsigned-4 ] bi bitor
64 >signed
] optimized.
! working
[
dup >R 0 alien-unsigned-4 32 fixnum-shift
R> 4 alien-unsigned-4 over tag 0 eq?
[ fixnum-bitor ] [ fixnum>bignum bignum-bitor ] if
18446744073709551615 >R >bignum R> bignum-bitand
dup 63 bignum-bit? [
18446744073709551616 bignum- ] [ ] if
]
! broken
[
dup >R 0 alien-unsigned-4 32 fixnum-shift
R> 4 alien-unsigned-4 over tag 0 eq?
[ fixnum-bitor ] [ fixnum>bignum bignum-bitor ] if
dup 63 bignum-bit? [
18446744073709551616 bignum- ] [ ] if
]
The second case correctly eliminates the bitand but incorrectly assumes
that the item on the stack (which is an integer -- either a fixnum or a
bignum), was converted to a bignum.
John Benediktsson [Thu, 31 Oct 2019 17:45:36 +0000 (10:45 -0700)]
math.intervals: simplify interval-bitand.
John Benediktsson [Thu, 31 Oct 2019 17:27:29 +0000 (10:27 -0700)]
math.partial-dispatch: simplify using fry.
John Benediktsson [Thu, 31 Oct 2019 17:27:17 +0000 (10:27 -0700)]
math.intervals: improve interval-bitand.
John Benediktsson [Thu, 31 Oct 2019 17:03:44 +0000 (10:03 -0700)]
compiler.tree.propagation: fix test for improved interval-bitor.
John Benediktsson [Wed, 30 Oct 2019 16:47:04 +0000 (09:47 -0700)]
math.intervals: remove extra non-interval tests.
timor [Thu, 29 Aug 2019 06:19:57 +0000 (08:19 +0200)]
math.intervals.tests: clean up literal syntax
timor [Wed, 28 Aug 2019 10:32:14 +0000 (12:32 +0200)]
math.intervals: more exact interval-bitxor operation
- fixed: `interval-bitxor` caused bit-growth
- improved: `interval-bitxor` more exact case for negative intervals
timor [Wed, 28 Aug 2019 09:27:07 +0000 (11:27 +0200)]
math.intervals: more exact interval-bitor operation
Addresses #2170
- fixed: `interval-bitor` caused bit-growth
- improved: `interval-bitor` more exact about lower bounds
The added utility words could be used as a basis to make the other bitwise
interval operations more exact also.
John Benediktsson [Sat, 26 Oct 2019 00:53:06 +0000 (17:53 -0700)]
classes.algebra: update forgotten test for flatten-class.
John Benediktsson [Fri, 25 Oct 2019 03:38:05 +0000 (20:38 -0700)]
math.vectors: use $sequence in docs.
John Benediktsson [Thu, 24 Oct 2019 21:14:01 +0000 (14:14 -0700)]
classes.union: woops, reduce in fast-union-mask.
John Benediktsson [Thu, 24 Oct 2019 21:12:26 +0000 (14:12 -0700)]
classes.algebra: change (flatten-class) to use arrays.
John Benediktsson [Thu, 24 Oct 2019 21:10:41 +0000 (14:10 -0700)]
classes: update docs with $sequence.
John Benediktsson [Thu, 24 Oct 2019 20:54:58 +0000 (13:54 -0700)]
math.floats.env: use $sequence in docs.
John Benediktsson [Thu, 24 Oct 2019 16:09:17 +0000 (09:09 -0700)]
prettyprint.backend: print up to length-limit lists.
John Benediktsson [Wed, 16 Oct 2019 17:11:46 +0000 (10:11 -0700)]
prettyprint.backend: print only cons-states.
John Benediktsson [Wed, 16 Oct 2019 17:01:56 +0000 (10:01 -0700)]
prettyprint.backend: lists only print car and "~more~" for cdr.
Doug Coleman [Sat, 14 Jul 2018 01:36:07 +0000 (20:36 -0500)]
lists: Add list literals.
Fixes #2019.
timor [Wed, 16 Oct 2019 12:10:26 +0000 (14:10 +0200)]
Simplify nix shell environment
`buildFHSUserEnv` uses `chroot` to create a kind of sandbox environment. This
change uses a simpler mechanism, and also provides the necessary libraries for
running all the demos.
Kye W. Shi [Tue, 15 Oct 2019 17:45:45 +0000 (10:45 -0700)]
add shell.nix for building/running on NixOS
Kye W. Shi [Tue, 15 Oct 2019 17:38:38 +0000 (10:38 -0700)]
project-euler: add solutions to 064, 087
John Benediktsson [Sun, 6 Oct 2019 10:41:10 +0000 (03:41 -0700)]
talks.otug-talk: forgot a second $link.
John Benediktsson [Sat, 5 Oct 2019 23:40:57 +0000 (16:40 -0700)]
talks.olug-talk: fix link to new syntax _.
John Benediktsson [Sat, 5 Oct 2019 21:32:35 +0000 (14:32 -0700)]
alien.data.map: fix use of _ for fry change.
Doug Coleman [Sat, 5 Oct 2019 17:04:14 +0000 (12:04 -0500)]
zealot.help-lint: Add a help-lint for travisci that ignores a lot of flaky resource leaks.
Some work needs to be done with ensuring that resources are cleaned up before reporting resource leaks and exiting. In the meantime, we want TravisCI to be useful enough to catch help-lint errors, so ignore a bunch of errors that it might find. These leaks are still tested for in the more thorough mason CI.
Doug Coleman [Sat, 5 Oct 2019 17:02:30 +0000 (12:02 -0500)]
furnace.utilities: Allow for unloaded vocab to pass help-lint.
Doug Coleman [Sat, 5 Oct 2019 16:03:22 +0000 (16:03 +0000)]
furnace.redirection: Fix for unloaded vocabularies in lint.
John Benediktsson [Sat, 5 Oct 2019 01:55:30 +0000 (18:55 -0700)]
fry: update docs for syntax change.
John Benediktsson [Sat, 5 Oct 2019 01:31:04 +0000 (18:31 -0700)]
stack-checker.values: fix for fry change.
John Benediktsson [Sat, 5 Oct 2019 01:15:59 +0000 (18:15 -0700)]
fry: improve syntax for _ and @ to throw when not used in a fry quotation.
John Benediktsson [Sat, 5 Oct 2019 01:15:19 +0000 (18:15 -0700)]
sequences.generalizations: fix finish-nfind use of times.
(that didn't work in optimizing compiler).
John Benediktsson [Mon, 30 Sep 2019 01:38:41 +0000 (18:38 -0700)]
memoize: fix memoize-quot for zero input effects.
John Benediktsson [Sun, 29 Sep 2019 14:15:28 +0000 (07:15 -0700)]
monads: fix ordering of writer monad logs.
Doug Coleman [Sat, 28 Sep 2019 18:51:39 +0000 (13:51 -0500)]
tools.deploy: Trying to get clean binaries.
Doug Coleman [Sat, 28 Sep 2019 16:55:22 +0000 (16:55 +0000)]
webapps: Update to https
Doug Coleman [Sat, 28 Sep 2019 15:56:40 +0000 (10:56 -0500)]
mason.config: Update status url to https.
Doug Coleman [Sat, 28 Sep 2019 14:43:07 +0000 (09:43 -0500)]
tools.deploy: Bump the deploy size.
We should look at deploy sizes and try to fix them correctly.
Doug Coleman [Sat, 28 Sep 2019 14:40:47 +0000 (09:40 -0500)]
openssl: Fallback for versions of macOS < 10.15.
We probably want a word that finds libssl.x.dylib where x is the highest version so that we don't have to update the libary-loading code in the future.
This is all because loading libssl.dylib causes a SIGABORT signal 6, perhaps there's another workaround?
Doug Coleman [Sat, 28 Sep 2019 04:13:51 +0000 (23:13 -0500)]
io.launcher.unix: Fix test.
Doug Coleman [Sat, 28 Sep 2019 03:59:36 +0000 (22:59 -0500)]
basis: Move signal word and fix tests.
Doug Coleman [Fri, 27 Sep 2019 22:17:56 +0000 (17:17 -0500)]
basis: Fix bootstrap to display unix signals instead of "Error in print-error!"
Doug Coleman [Fri, 27 Sep 2019 22:17:22 +0000 (17:17 -0500)]
openssl: macOS 10.15 beta needs explicit paths for these libraries.
10.14 has versions that are .2 lower than 10.15.
John Benediktsson [Fri, 27 Sep 2019 15:26:02 +0000 (08:26 -0700)]
smalltalk: cleanup usings.
John Benediktsson [Fri, 27 Sep 2019 15:24:53 +0000 (08:24 -0700)]
peg: less stack shuffling in define-parser-word.
John Benediktsson [Thu, 26 Sep 2019 15:56:42 +0000 (08:56 -0700)]
peg: reuse code in compile-parsers-quots.
John Benediktsson [Thu, 26 Sep 2019 14:57:31 +0000 (07:57 -0700)]
peg.parsers: use splitting.
John Benediktsson [Thu, 26 Sep 2019 04:34:28 +0000 (21:34 -0700)]
peg.parsers: simplify range-pattern.
John Benediktsson [Thu, 26 Sep 2019 03:51:27 +0000 (20:51 -0700)]
toml: minor cleanup, note a fixme for later.
John Benediktsson [Thu, 26 Sep 2019 03:38:19 +0000 (20:38 -0700)]
peg.ebnf: minor cleanup.
John Benediktsson [Thu, 26 Sep 2019 03:26:12 +0000 (20:26 -0700)]
peg: some cleanup.
John Benediktsson [Wed, 25 Sep 2019 21:41:06 +0000 (14:41 -0700)]
toml: some updates.
John Benediktsson [Wed, 25 Sep 2019 21:23:34 +0000 (14:23 -0700)]
toml: adding support for Tom's Obvious Markup Language (TOML).
Doug Coleman [Wed, 25 Sep 2019 05:15:44 +0000 (00:15 -0500)]
openssl.libcrypto: nginx factorcode.org server upgrades to https by default.
Change the unit test to expect a 301. We should probably make all tests work with networking disabled instead of hitting remote servers.
John Benediktsson [Wed, 25 Sep 2019 03:56:29 +0000 (20:56 -0700)]
regexp.classes: use \v\a escapes.
John Benediktsson [Wed, 25 Sep 2019 03:13:40 +0000 (20:13 -0700)]
ini-file: cleanup using \f\v escapes.
John Benediktsson [Thu, 19 Sep 2019 02:25:17 +0000 (19:25 -0700)]
tools.deploy: bump size for spheres.
John Benediktsson [Thu, 12 Sep 2019 18:15:58 +0000 (11:15 -0700)]
effects: fix clone of row variadic effects.
Doug Coleman [Thu, 12 Sep 2019 23:13:13 +0000 (18:13 -0500)]
smtp: Fix issues with sending an email using Outlook's smtp server.
- Outlook requires saying HELO after upgrading to TLS.
- Outlook stopped supporting plain auth in 2017.
Tested on gmail and outlook.
John Benediktsson [Wed, 11 Sep 2019 14:20:02 +0000 (07:20 -0700)]
tools.crossref: actually, prefer higher level article-links word.
John Benediktsson [Wed, 11 Sep 2019 12:00:11 +0000 (05:00 -0700)]
tools.crossref: faster M\ link uses by calling article-content once.
John Benediktsson [Wed, 11 Sep 2019 11:59:56 +0000 (04:59 -0700)]
help.markup: slightly faster collect-elements.
John Benediktsson [Tue, 10 Sep 2019 19:02:43 +0000 (12:02 -0700)]
colors: moving some color definitions from extra/ to basis/.
John Benediktsson [Tue, 10 Sep 2019 11:52:59 +0000 (04:52 -0700)]
numbers-game: simplify for readability.
timor [Mon, 9 Sep 2019 08:31:33 +0000 (10:31 +0200)]
math.intervals: Consistent handling of special intervals
Make both `empty-interval` and `full-interval` singletons, use generic functions
and methods where they are special-cased.
All words which work with interval points should also now work with the special
intervals.
John Benediktsson [Sun, 8 Sep 2019 22:59:04 +0000 (15:59 -0700)]
vlists: splitting prettyprint dependency out.
John Benediktsson [Sun, 8 Sep 2019 22:58:12 +0000 (15:58 -0700)]
bit-vectors: splitting prettyprint dependency out.
John Benediktsson [Sun, 8 Sep 2019 22:57:55 +0000 (15:57 -0700)]
bit-arrays: splitting prettyprint dependency out.
kusumotonorio [Sun, 8 Sep 2019 06:22:55 +0000 (15:22 +0900)]
NSNotFound for both 32 bit and 64 bit environments
John Benediktsson [Sat, 7 Sep 2019 14:31:33 +0000 (07:31 -0700)]
urls: simpler url-port.
John Benediktsson [Wed, 4 Sep 2019 16:42:18 +0000 (09:42 -0700)]
opengl.gl: just add libGL.so.1 instead of using find-library-from-list.
I think this is more robust, and also I would rather have find-library
return full paths on all platforms since that's the utility that I was
going for when it was written.