Commit Graph

113 Commits (bea7a405da69b48ac65115d5324acd8c49cd83a2)

Author SHA1 Message Date
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
Doug Coleman fe1daf4e08 Fix throw-restarts example 2010-09-11 19:41:06 -05: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 18f3df9d4a more help-lint 2010-03-09 21:02:43 -08: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
erikc f33c73bf94 Merge up 2010-01-30 20:39:43 -08:00
Doug Coleman 1f76ab2d45 try-find is just attempt-all. oops 2010-01-28 23:28:11 -06:00
Doug Coleman 88e20af800 add some unit tests for try-find 2010-01-28 23:12:31 -06:00
Doug Coleman 46f2515ba8 add try-find for random.windows 2010-01-28 22:44:31 -06:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15: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 0d4b9132d7 fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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 b0e8ec2aea continuations: update tests for word renaming 2009-05-05 12:47:33 -05:00
Doug Coleman 0ad6d1fb7b add a few usages of iota, remove most 1+ and 1- from core 2009-05-01 19:58:24 -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 c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
Slava Pestov 0a5b076c11 Make the walker infer 2009-04-16 23:14:11 -05:00
Slava Pestov c0874e64cc Documentation updates 2009-04-15 18:19:35 -05:00
Slava Pestov e595576dc3 Make more words infer 2009-04-12 23:01:14 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 5269eba011 Document restart word 2009-03-05 13:40:30 -06:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov feb5688296 Merge branch 'master' into new_ui 2009-02-04 04:45:33 -06:00