Commit Graph

595 Commits (2cfa457258d93ea14a132a256fc96cf5c8d95c92)

Author SHA1 Message Date
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
Björn Lindqvist b672ed91fb math.affine-transforms: some docs for the vocab 2018-02-27 13:20:57 +01:00
John Benediktsson f960c51878 Squashed commit of the following:
commit 429917d51c569b28d43b64f3b116e6b750e77c72
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Thu Feb 15 15:54:50 2018 -0500

    fix <PRIVATE> inside ARTICLE: ?!?!

commit b93243511c40ca7fd06120d089ead172df46c8b7
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 18:11:26 2018 -0500

    pluralize definition fix

commit e461c08166f98b974ae0e9075331dd388c1bcb48
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 16:28:05 2018 -0500

    update some words

commit 573ba01d6310d64788d13685dfc46099ffddb01b
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 16:06:42 2018 -0500

    remove a useless comment

commit 7733ade275a904449a3c691f4142329aaf73081e
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Wed Feb 14 14:30:06 2018 -0500

    extra/help.lint.coverage: update doctests because of new 100% coverage in basis/english

commit 9f89d2f5a261188dbd030b868323e3a0e95fb6c8
Author: Cat Stevens <catb0t@protonmail.ch>
Date:   Tue Feb 13 18:51:33 2018 -0500

    basis/english: new words; full help and test coverage
2018-02-15 13:21:27 -08:00
John Benediktsson 42b37dcc8a fix some tests broken by previous commit. 2018-02-15 13:16:39 -08:00
John Benediktsson 4a144e5ea7 more test IN: cleanup. 2018-02-15 08:45:08 -08:00
John Benediktsson bd9676e152 core/basis/extra: use none?. 2018-02-14 11:56:31 -08:00
Björn Lindqvist 88e1f091b9 extra/: more uses of the do-state combinator 2018-01-27 22:44:26 +01:00
Alexander Iljin 8a4dba4cd9 Fix the existing IN: suffixes for the test vocabs
Change some existing vocab name suffixes from "-tests" or ".test" to
".tests". Add no new suffixes.
2018-01-24 16:03:48 -08:00
Doug Coleman 4efff72dff math.blas.vectors: Fix ancient typo 2017-12-28 18:53:25 -08:00
John Benediktsson 86778b349c math.similarity: adding weighted-cosine-similarity. 2017-10-24 17:29:06 -07:00
John Benediktsson aa5623eede math: using ``v.`` instead of ``v* sum`` in a few places. 2017-10-24 12:26:39 -07:00
John Benediktsson 37902e3903 math.similarity: add another test for pearson-similarity. 2017-10-24 11:46:44 -07:00
John Benediktsson ee1bfc7fc2 math.similarity: change cosine-similarity to match math formula.
Specifically, instead of returning values [0,1], we now return [-1,1]:

* −1 meaning exactly opposite
* 1 meaning exactly the same
* 0 indicating orthogonality (decorrelation)
* in-between values indicating intermediate similarity or dissimilarity.
2017-10-24 11:45:03 -07:00
Alexander Iljin 504c9959a1 Update some copyright headers to follow the current convention
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman 27b3c4cccf functors: FUNCTOR: ;FUNCTOR -> <FUNCTOR: ;FUNCTOR>
Functors contain nested definitions, much like <PRIVATE PRIVATE> blocks.
A new parser will be able to parse nested definitions unambigiously without
knowledge of the definition of <FUNCTOR: itself, which is not the case if
it looks like FUNCTOR: instead.
2017-08-05 20:41:19 -05:00
Doug Coleman 01aab7c884 Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s 2017-07-03 12:47:19 -07:00
Jon Harper 80e9d7c115 move math.extras:round-to-even to math.functions to use in basis:formatting
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Samuel Tardieu 30f73d63f4 Add French number>text support for ratios 2017-03-23 12:11:05 +01:00
Samuel Tardieu 5707acdaf0 Apply 1990 French orthographic reform for writing numbers 2017-03-23 11:32:52 +01:00
John Benediktsson a2d5f8e9ad math.cardinality: relax the comparison so tests run more successfully. 2017-01-05 09:06:33 -08:00
John Benediktsson a3abd46500 math.cardinality: adding summary.txt. 2017-01-04 14:22:30 -08:00
John Benediktsson 5376587fb3 math.cardinality: adding some tests. 2017-01-04 14:16:58 -08:00
John Benediktsson ef269c493c math.factorial: reverse-factorial only undo factorial.
The other way doesn't make sense.
2016-11-29 19:01:36 -08:00
John Benediktsson 8bdaf26d6b math.factorials: implement "undo" for factorials. 2016-11-29 16:56:48 -08:00
John Benediktsson 1e2e2dc9f7 math.factorials: adding reverse-factorial. 2016-11-28 19:09:03 -08:00
Björn Lindqvist 485a45a719 extra/: ensuring tests have an IN:-line ending with .tests 2016-08-20 06:01:16 +02:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 46aa1f2088 math.approx: fix typo in docs. 2016-07-11 21:09:11 -07:00
Doug Coleman 35d84c6e64 maths.primes: finish renaming fast-gcd to simple-gcd. 2016-03-19 17:21:24 -07:00
Björn Lindqvist b035e8ec13 math.hashcodes,python.syntax: bi@ and -> both? 2015-11-04 09:25:32 +01:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 43fb73fae6 factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace. 2015-08-06 17:05:12 -05:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman af3605bfe6 math.extras: .. and ... are cool but not used and can come back soon. 2015-07-21 17:33:13 -07:00
Doug Coleman 35d81c742d math.derivatives: Add a ; to the syntax for derivatives so the parsing word doesn't have to introspect its input arity. 2015-07-21 12:35:08 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -07:00
Doug Coleman 4ec2311406 factor: Trim whitespace after ! comments and a few USING: lines that got skipped before. 2015-07-18 20:14:22 -07:00
John Benediktsson 8d4d0d356f math.numerical-integration: make sure length is an integer. 2015-07-17 16:44:44 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00