John Benediktsson
19c8d482fb
continuations: more use of check-instance.
2020-01-15 10:52:34 -08:00
Alexander Iljin
0007789795
continuations[-docs]: add the finally word
2019-04-22 21:57:51 -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
John Benediktsson
6d5775e732
continuations: don't need to init-catchstack twice from init.
2017-02-02 10:00:44 -08:00
Björn Lindqvist
e4b961a26e
continuations: new words for ignoring masked errors
...
it comes from the db.errors vocab but seems to be useful in lots of
situations
2016-11-18 23:41:36 +01:00
Doug Coleman
f0292db7d3
continuations: Moving usages of rethrow below where it's defined. I don't know if these work, but I'm trying to make the hooks throw like the stack effect requests.
2016-04-06 17:55:47 -07:00
Doug Coleman
9427c78506
ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere.
2016-04-06 17:35:13 -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
John Benediktsson
7d0c596c92
Hopefully fix stack effects of error hooks to throw when required.
2016-03-28 22:27:35 -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
b75def3bfb
hashtables: remove 2hashtable (not really used).
2016-03-03 14:38:16 -08:00
Doug Coleman
b0fe6631c7
core: I messed up the refactoring. with-scope should go away, but so should with-variables with an empty hashtable too.
2016-03-03 11:54:33 -08:00
Doug Coleman
9c4ed3ddae
core: Don't use with-scope. H{ } clone [ ] with-variables is the same thing and is more explicit.
2016-03-02 17:18:42 -08:00
Björn Lindqvist
883f65d0e4
VM: fix one callstack overflow problem by "unlocking" the callstacks
...
border pages
Also a new vocab compiler.tests.callstack-overflow which is supposed to
contain all tests for callstack overflow-related problems.
2015-08-14 20:19:58 -07:00
John Benediktsson
bee46baecb
continuations: rename catchstack* to (get-catchstack) for consistency.
2015-08-13 17:52:40 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
c21a154056
core: callstack is a builtin type and a class name. rename the *stack words that grab the current stack get-foostack to avoid the callstack builtin conflict and for better symmetry with set-foostack.
2015-08-13 10:11:59 -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
Björn Lindqvist
6fedb79c73
VM: bump stack_reserved from 1kb to 4kb
...
The added test case fails with a doulbe fault, which appears to be
caused by a stack overflow in the code that tries to handle the stack
overflow. So bumping it to 4096 bytes should give the code enough stack
space to play with.
2015-08-04 16:02:10 +02: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
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
John Benediktsson
01e210346e
continuations: make with-return use with-variable instead of with-scope.
2015-06-15 09:11:35 -07:00
John Benediktsson
2c3492a916
minor cleanup to some docs.
2015-05-13 16:09:14 -07:00
Björn Lindqvist
92165e4ee7
Docs: bunch of smaller documentation fixes for various vocabs
2015-04-29 09:31:54 -07:00
John Benediktsson
b102f138b3
Revert "continuations.tests: test case for #1187"
...
This reverts commit 5dc7cce253
.
2014-12-04 11:46:28 -08:00
Björn Lindqvist
5dc7cce253
continuations.tests: test case for #1187
2014-12-04 10:26:24 -08:00
John Benediktsson
ab3f3173af
change errors to use "object" instead of "obj".
2014-12-01 08:04:49 -08:00
Björn Lindqvist
88fb349bd0
stack-checker,compiler: docs for stack-checker and compiler words
2014-10-17 23:18:57 +02:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
John Benediktsson
b95536567a
continuations: remove seemingly unhelpful comment.
2014-02-21 08:36:31 -08:00
Doug Coleman
a82b460876
continuations: Rename restart to continue-restart.
2013-03-23 17:18:09 -07:00
John Benediktsson
a34c113020
continuations: speed up init-catchstack.
2013-03-06 10:09:14 -08:00
John Benediktsson
d31d1eebae
continuations: slight speedup.
2012-09-14 14:59:38 -07:00
John Benediktsson
be2269e219
Revert "continuations: add typing."
...
This reverts commit 34d3f878cd
.
2012-07-27 19:21:47 -07:00
John Benediktsson
87f8505736
continuations: add typing.
2012-07-27 19:16:31 -07:00
Doug Coleman
a7a34a3b9a
continuations: change continuation word to current-continuation. continuation is now just the tuple name. issue #358
2012-07-20 12:30:14 -07:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Joe Groff
186bf65a00
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
Joe Groff
1386212d23
vm: dispatch signal handlers through subprimitive
...
We also need to save C ABI volatile registers before calling the signal handler in order to be able to reliably resume. Add signal-handler and leaf-signal-handler subprimitives to preserve volatile registers before invoking the signal handler C function.
2011-10-27 21:18:18 -07:00
John Benediktsson
80e1c8e3f2
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
Joe Groff
9894a6ade5
continuations: document full effect of cleanup
...
We can't yet apply the effect because of #138 but we can at least document it.
2011-10-14 14:45:21 -07:00
John Benediktsson
1987deb359
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
Slava Pestov
dabbe35bd9
concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95
2011-10-03 00:24:37 -07:00
John Benediktsson
9f34c9c676
Spelling fixes to documentation.
2011-08-26 16:20:31 -07:00
Keita Haga
a7665bc7fe
continuations: fix typo in docs
2011-02-07 23:42:44 +09:00
Keita Haga
1aaa0409a1
continuations, io.binary: add whitespace between '"' and '{ $snippet' in the documentation
2011-01-08 22:26:06 +09:00