Commit Graph

4340 Commits (master)

Author SHA1 Message Date
John Benediktsson 8fd437d877 Revert "core: Add TH{ for making assoc tuples."
This reverts commit e93d8f82bc.
2020-09-28 16:29:43 -07:00
John Benediktsson f2a40f88dc bootstrap: rename layouts/layouts.factor to layouts.factor. 2020-09-26 21:29:52 -07:00
John Benediktsson fed5fd7c50 classes.tuple: speed up slots>tuple a bit.
Only get the initial values that are needed to supplement provided values.
2020-09-26 12:22:02 -07:00
John Benediktsson 840159710e classes: update with quotation stack effects. 2020-09-26 10:28:35 -07:00
John Benediktsson 96d7da0169 classes.builtin: remove bootstrap-type>class.
Not currently used, if adding more builtins maybe useful.
2020-09-23 19:49:35 -07:00
John Benediktsson 7789bbc79c classes.union: speed up instance? on unions of tuple-classes. 2020-09-23 19:32:15 -07:00
John Benediktsson f2deb82829 core: removing unnecessary method stack effects. 2020-09-09 15:00:53 -07:00
John Benediktsson a861c4c732 assocs: improve stack effect for delete-at* and ?delete-at. 2020-08-23 13:04:48 -07:00
John Benediktsson 1ac7e08f59 assocs: adding ?change-at. 2020-08-17 10:08:41 -07:00
John Benediktsson d535b62f50 vocabs.parser: faster name lookup. 2020-08-14 11:58:50 -07:00
Alexander Iljin 8a3d7a9d7f syntax-docs: add description of the vocab:word syntax 2020-08-01 22:32:55 +00:00
Alexander Iljin 21a1a6e7a1 syntax-docs: fix a typo 2020-08-01 22:32:55 +00:00
Alexander Iljin c496feb256 syntax-docs: remove mention of a nonexistent error 2020-08-01 22:32:55 +00:00
Alexander Iljin 27d38225f4 checksums: inherit checksum-state from disposable
This allows the inherited tuples, including block-checksum-state, to be
treated like the normal disposable tuples, instead of imitating only part
of the interface.
2020-07-29 17:42:02 +00:00
Alexander Iljin d1782a23cc io.pathnames-docs: fix a copy-paste error 2020-07-19 14:24:11 +00:00
Alexander Iljin 671aa228f3 math-docs: fix `times` documentation
The word `each` used to loop over integers in the past, but it does not
anymore.
2020-07-19 14:24:11 +00:00
Doug Coleman 8efe213273 vocabs: On use-vocab we should throw an error if the vocabulary does not exist.
Also ui.pixel-formats.private does not exist so remove that.

Fixes #2298.
2020-06-12 18:23:45 -05:00
John Benediktsson 3ee93ee68d lexer: cleanup docs for $slots. 2020-05-27 09:59:42 -07:00
John Benediktsson d2114e913c syntax: allow anonymous MAIN:. 2020-05-21 14:19:43 -07:00
Doug Coleman 32410ebca7 Windows: Handle three places where Windows line endings break the tests.
Usually we check out with Unix line endings, but if you don't set this
option, then get adds extra newlines to text files. Since there are
only three places, let's just fix them.

Fixes #2276
2020-04-12 00:05:44 -05:00
John Benediktsson 2cbcacad88 core/basis/extra: update some tags.txt. 2020-02-26 10:57:08 -08:00
John Benediktsson 2e5cec428a help.markup: adding a $slots word to document slots, use it. 2020-02-16 22:36:19 -08:00
John Benediktsson 38bfcd4bf1 help: add more bold table headings. 2020-02-13 15:18:43 -08:00
John Benediktsson c850d38e6c generic.math: some minor cleanup. 2020-02-13 14:54:46 -08:00
John Benediktsson 42e49f432c vocabs.loader: fix alignment of last patch. 2020-02-12 13:54:11 -08:00
John Benediktsson 38eab40848 vocabs.loader: prevent create-vocab if check-vocab fails. 2020-02-12 08:42:56 -08:00
Doug Coleman ada064d9c3 byte-arrays: Add a byte-sequence protocol for byte-{array,vector}
Allow hexdumping strings as utf8 for convenience.
2020-01-16 18:18:46 -06:00
John Benediktsson 19c8d482fb continuations: more use of check-instance. 2020-01-15 10:52:34 -08:00
John Benediktsson 77cd3aaede classes: use check-instance in a few places, to remove duplication. 2020-01-15 10:34:47 -08:00
John Benediktsson cd75a7eb4e classes: adding a check-instance for checking type of things.
This will replace a bunch of not-a-thingy errors that we have in a few
places.  Those should probably go away anyway, in favor of better type
propagation or runtime JIT compilation.
2020-01-15 10:29:06 -08:00
John Benediktsson 1eb7dbe6d2 io.files: quot effects in change-file-lines and change-file-contents. 2020-01-06 13:26:19 -08:00
Doug Coleman 16442c27ac io: Fix word to find disk space if a file is missing.
Add canonicalize-drive because Windows likes C: instead of c:.

Add >windows-path for path string comparison.

Add canonicalize-path-full for fixing the path, drive, and / to \\ on
Windows.
2020-01-03 16:30:00 -06:00
Doug Coleman 16c153411d io: Trim using lists. 2020-01-03 12:42:11 -06:00
John Benediktsson 6be39382a3 sequences: adding cartesian-find. 2019-12-13 19:20:27 -08:00
John Benediktsson 77b13fbdc2 core/basis/extra: using while* in a few places. 2019-12-13 14:38:26 -08:00
John Benediktsson 05665e8d13 kernel: adding while* that passes the predicate result to the body. 2019-12-13 14:35:51 -08:00
John Benediktsson 12dc9e7ab7 classes.union: faster builtin-class check, for example sequence?. 2019-11-06 14:13:13 -08:00
John Benediktsson bebdb54543 classes.algebra: update forgotten test for flatten-class. 2019-10-25 17:53:06 -07:00
John Benediktsson 61964d0f46 classes.union: woops, reduce in fast-union-mask. 2019-10-24 14:14:01 -07:00
John Benediktsson 80bd0feaef classes.algebra: change (flatten-class) to use arrays. 2019-10-24 14:12:26 -07:00
John Benediktsson 738113d524 classes: update docs with $sequence. 2019-10-24 14:10:41 -07:00
John Benediktsson 2657e7507e effects: fix clone of row variadic effects. 2019-09-15 08:35:08 -07:00
John Benediktsson 41db42a571 Revert "io.encodings.utf16: add a utf16n word for native utf16 type."
This reverts commit ad24fa414f.
2019-08-06 07:12:55 -07:00
John Benediktsson 04fab09c8f Revert "io.encodings.utf16: update docs for utf16n."
This reverts commit e6fdc8fd51.
2019-08-06 07:12:50 -07:00
John Benediktsson 6e161a2ccb Revert "io.encodings.utf16: make utf16n foldable, maybe fixes windows bootstrap."
This reverts commit 17a3cf7590.
2019-08-06 07:12:44 -07:00
John Benediktsson 17a3cf7590 io.encodings.utf16: make utf16n foldable, maybe fixes windows bootstrap. 2019-08-05 19:44:29 -07:00
John Benediktsson e6fdc8fd51 io.encodings.utf16: update docs for utf16n. 2019-08-05 18:32:47 -07:00
John Benediktsson ad24fa414f io.encodings.utf16: add a utf16n word for native utf16 type.
remove io.encodings.utf16n vocabulary, which was kind of single purpose.
update a bunch of vocab usings.
2019-08-05 13:08:09 -07:00
John Benediktsson 2692227fbc kernel: fix stack effect for -rotd. 2019-07-23 16:23:27 -07:00
John Benediktsson d0a8377827 words: remove word-props? used only in one place. 2019-05-20 20:45:29 -07:00