Commit Graph

4320 Commits (e219aad7e5bb63068886b2c0384b7dd24d804c9a)

Author SHA1 Message Date
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
John Benediktsson c6e14ce3ca sequences: making copy-state indices integers. 2019-05-19 15:59:31 -07:00
Alexander Iljin 0007789795 continuations[-docs]: add the finally word 2019-04-22 21:57:51 -07:00
Alexander Iljin 0fc946dc0f sequences-docs: add a missing article 2019-04-14 08:42:26 -05:00
John Benediktsson d248f2452e combinators: faster hashcode for byte-arrays. 2019-04-05 16:55:10 -07:00
Doug Coleman 357d504719 tests: Don't depend on license.txt not changing.
It's probably bad to have the year in the license file, but it's worse to depend on
the license never changing.

Add a dummy file to crc32, and for multi checksums, the file we were checksumming is
not really integral to the test since it's read into a buffer first.
2019-03-23 13:00:52 -05:00
John Benediktsson c228aaf836 io.backend: remove comment from years ago. 2019-03-22 20:36:45 -07:00
John Benediktsson 64d835e2bf parser: use ?first. 2019-03-16 20:33:40 -07:00
Jack Lucas 3154242a3a Re-add Freebsd Support 2019-02-08 19:17:30 -05:00
Doug Coleman 591a468800 assocs: Add ?delete-at. 2019-02-03 14:51:59 -05:00
John Benediktsson 81caec378d classes.tuple: use integer>fixnum in tuple-hashcode. 2019-01-10 21:39:24 -08:00
Alexander Iljin 97a91d66fc syntax-docs: add a couple of missing CHAR: syntax examples 2019-01-03 15:36:03 -08:00
Alexander Iljin f11e5da90f splitting-docs: mention two existing words in documentation 2018-08-21 10:45:52 -07:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
Doug Coleman 3a5533dc44 layouts: Add 32bit? and 64bit? words. 2018-07-22 11:46:01 -05:00
Doug Coleman 2b4d2a4a13 system: Make the git version code more robust.
Really confusing sequence errors if Factor vm isn't compiled with proper git label.

e.g. good: -DFACTOR_GIT_LABEL="heads/master-102fe6154e9deec5dff38ee70519f7bbe506f6ce"

bad: -DFACTOR_GIT_LABEL=""
before this patch gave an integer comparison error comparing ``f 16 <``
2018-07-22 11:45:50 -05:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Doug Coleman db9386d4c3 io.pathnames: Fix using list. 2018-07-07 12:09:02 -05:00
Doug Coleman 3ac520a8ec io.pathnames: Add canonicalize-path.
The idea is to make a canonical representation of any path, taking into
account . and .. and unicode-prefix on Windows.

The use case is in a shell you have a current-directory and you can do
crazy commands like ``cd ../foo/bar/baz/../.././././`` and get the
canonical/shortened directory name. You can also use this word to
compare if two paths are the same.
2018-07-07 11:59:59 -05:00
Doug Coleman 93b5e59f72 kernel: Only test that it fails 10 times for TravisCI to pass. 2018-07-07 03:15:09 -05:00
Doug Coleman 54d36ec03f kernel: Test if one ``-1 f <array>`` hangs travisci.
Related to #2013.
2018-07-07 02:44:32 -05:00