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
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
c5b563ed09
factor: Rename start -> subseq-start, start* -> subseq-start-from.
...
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Alexander Iljin
1aded9abdd
docs: replace $description with $class-description for class words
2016-07-30 09:25:30 -07:00
John Benediktsson
1bc99066a7
strings.parser: allow "\u{snowman}" or "\u{2603}".
2016-04-05 10:19:43 -07:00
John Benediktsson
68bdd4196b
strings.parser: adding error tests.
2016-04-04 15:13:46 -07:00
John Benediktsson
6dd1172a8d
strings.parser: fix docs for parse-string.
2016-04-04 15:01:43 -07:00
John Benediktsson
4d83867cb4
strings.parser: remove parse-short-string, everyone should parse-string.
2016-04-04 15:00:04 -07:00
John Benediktsson
42c56a2de1
strings.parser: better string error messages.
2016-04-04 15:00:04 -07:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
Björn Lindqvist
579875821b
VM: removes the OBJ-ERROR special object in favor of a constant
...
The special object contained the string "kernel-error" which were used
to tag VM errors. But it is simplier and removes a little complexity to
just tag them with a fixnum constant.
2016-03-22 17:52:19 +01:00
John Benediktsson
35ca557ce7
core: use $sequence help-markup in a few places.
2016-03-16 10:13:56 -07:00
John Benediktsson
399d01f56e
strings.parser: finish removing triple-strings.
...
parse-string => parse-short-string (on the same line)
parse-multiline-string-until => parse-full-string
2015-08-17 19:49:12 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -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
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -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
44e8e7b344
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
...
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
John Benediktsson
6fd908da40
use suffix! and append!.
2014-12-03 11:37:34 -08:00
John Benediktsson
05c35ebda3
kernel: change errors to be in kernel.private.
2014-06-04 14:33:02 -07:00
Björn Lindqvist
6627a3327b
kernel: symbolic constants for the various kernel errors
2014-06-04 23:16:40 +02:00
John Benediktsson
f02a059c78
strings.parser: simplify parse-string.
2014-06-03 21:05:36 -07:00
John Benediktsson
f61bdd0bb4
strings.parser: simplify next-escape.
2014-06-03 21:04:05 -07:00
John Benediktsson
5bc1567c05
syntax: adding \b \v and \f escape codes.
2014-06-03 18:04:51 -07:00
John Benediktsson
f79665805c
strings.parser: using type declarations.
2014-05-20 08:20:34 -07:00
John Benediktsson
c9d48ff390
strings.parser: use sbuf accumulator instead of make.
2014-05-19 14:14:02 -07:00
John Benediktsson
938a6d68ab
strings: faster clone-like when both arguments are strings.
2013-06-25 15:39:34 -07:00
John Benediktsson
cead10cfb6
strings.parser: use rest-slice.
2013-04-22 06:26:36 -07:00
Doug Coleman
4aa8c93546
strings, multiline: Fix unexpected-eof.
2013-03-23 21:42:26 -07:00
Doug Coleman
5a9e7cd374
classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things.
2013-03-10 12:05:38 -07:00
John Benediktsson
5487480126
core: cleanup USING lists.
2013-03-05 10:34:47 -08:00
John Benediktsson
a208946b63
strings.parser: support "\x" ascii hex escapes.
2012-07-26 19:24:25 -07:00
Doug Coleman
4a14bd407d
core: Use integer>fixnum instead of >fixnum for ``nth`` and other sequence operations. Fixes #581 .
2012-07-25 18:24:43 -07:00
rien
b3747936b9
fixed effect based on inner behavior and outer context
2011-12-10 19:47:34 -05:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
34e77ec408
strings: inline >string and 1string
...
Fixes #340
2011-11-15 19:15:19 -08:00
John Benediktsson
5a943b32c4
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
John Benediktsson
81714b8dc3
More lint cleanups.
2011-10-16 19:33:16 -07:00
John Benediktsson
3e20365cbe
Revert "sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode."
...
This reverts commit 7b7b0d4542
.
2011-10-06 08:37:05 -07:00
John Benediktsson
7b76c26bc0
sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode.
2011-10-05 19:22:50 -07:00
Doug Coleman
7432797251
Fix unit test in strings
2011-08-25 11:10:40 -07:00
Slava Pestov
a5e70d2e78
strings: fix broken unit tests introduced by recent commit
2011-08-24 23:42:33 -07:00
Joe Groff
62332cfa17
strings: a few more peace-of-mind tests setting out-of-range code points in strings
2011-07-20 13:52:42 -07:00
Joe Groff
bd56ab985e
strings: the fast path for set-string-nth was being used inappropriately for negative numbers. use the fast path only for Z ∩ [0, 127]
2011-07-20 10:21:11 -07:00
Slava Pestov
5ae75af6a8
Clarify documentation for resize-array, resize-byte-array, resize-string words, and remove flushable declaration since technically they don't satisfy the flushable contract (reported by Daniel Ehrenberg)
2010-06-22 15:48:48 -04:00