John Benediktsson
ab3f3173af
change errors to use "object" instead of "obj".
2014-12-01 08:04:49 -08: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
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
Slava Pestov
e436ae7314
continuations: keep original error when throwing wrapped errors as well, for easier debugging of bootstrap failures
2010-05-03 17:34:22 -04:00
Slava Pestov
be024c228c
continuations: faster with-datastack
2010-04-03 19:10:21 -04:00
Slava Pestov
6aee6b3adc
Add context-specific special object table, generalizing catchstack_save and current_callback_save fields of context struct
2010-03-18 22:06:00 +13:00
Joe Groff
cb656c6e6b
add polymorphic stack effects to continuations:recover, attempt-all
2010-03-08 18:36:40 -08:00
Slava Pestov
6e516789d5
continuations: add a throw-continue word for resumable errors, and change vocabs.metadata to throw a resumable error if the current platform is not supported
2010-02-20 13:41:33 +13:00
Slava Pestov
1c10196c43
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side
2010-01-13 18:08:18 +13:00
Slava Pestov
38f06b8558
continuations: remove outdated comment
2009-12-28 12:42:25 +13:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Slava Pestov
2b23d1dd9e
Remove silly retry word from continuations vocab
2009-05-08 00:20:54 -05:00
Slava Pestov
0b9212a2d6
Oops
2009-05-01 08:21:31 -05:00
Slava Pestov
5e32a53011
Fix circularity
2009-05-01 08:05:48 -05:00
Slava Pestov
0a5b076c11
Make the walker infer
2009-04-16 23:14:11 -05:00
Slava Pestov
e595576dc3
Make more words infer
2009-04-12 23:01:14 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
1951d739a0
Stack effect declarations are mandatory on all words now
...
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Slava Pestov
8db24bdd34
assert-depth now has a static stack effect. This fixes a UI unit test failure
2008-12-05 08:25:26 -06:00
Doug Coleman
a329960d7e
move retry word to continuations
2008-12-03 08:32:12 -06:00
Slava Pestov
a4d9cdfeb3
Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
...
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
44f53de164
Move make to its own vocabulary, remove fry _ feature
2008-09-10 20:07:00 -05:00
Slava Pestov
0c304b8fc6
Removing old accessor usages from core and basis
2008-08-31 07:45:33 -05:00
Slava Pestov
86f11713e3
Fixing some more bugs
2008-08-22 03:12:15 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
6333223a2e
Move with-datastack to contiinuations vocab, make it compile
2008-07-22 21:25:49 -05:00
Slava Pestov
9dd5c9919f
Mandatory stack effect annotations
2008-06-08 15:32:55 -05:00
Slava Pestov
2cbfa9c2d7
Move destructors to core
2008-05-14 23:23:12 -05:00
Slava Pestov
1260c1ba51
Working on SSL and refactoring related code to make things easier to plug in
2008-05-12 18:53:22 -05:00
Slava Pestov
1b2d7eac4a
with-return
2008-05-07 07:49:29 -05:00
Slava Pestov
f0f0cfb7c3
dispose-each
2008-05-01 21:42:51 -05:00
Slava Pestov
ef4046cda9
Converting code to use inheritance
2008-04-04 00:33:06 -05:00
Slava Pestov
aec04edbda
Phasing out get-slots and cleaning up some code
2008-03-29 00:59:05 -05:00
Slava Pestov
ed4506c0b0
Errors remember the original thread
2008-02-27 19:23:22 -06:00
Slava Pestov
da575528cf
Add ignore-errors to core
2008-02-26 14:58:02 -06:00
Slava Pestov
2342169d87
Save thread death errors
2008-02-21 01:24:24 -06:00
Slava Pestov
f2e9b80784
New single stepper work in progress
2008-02-19 23:17:59 -06:00
Slava Pestov
2c6afdfee6
Working on new threads
2008-02-18 05:07:40 -06:00