Commit Graph

186 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 44c1debbbe don't do pop_try when an error was raised 2014-09-24 19:24:19 +09:00
Yuichi Nishiwaki d6b2fe05ce add many many assertions (pic_pop_try) 2014-09-24 19:24:02 +09:00
Yuichi Nishiwaki cb2157bbae s/pic_make_cont/pic_make_econt/g 2014-09-24 18:43:20 +09:00
Yuichi Nishiwaki 7c5fb70e73 mark invalid flag 2014-09-24 15:59:35 +09:00
Yuichi Nishiwaki c7c771c861 refactor pic_push_try. use raw continuation API 2014-09-24 15:35:00 +09:00
Yuichi Nishiwaki e38732995e publish continuation internal APIs 2014-09-24 15:34:46 +09:00
Yuichi Nishiwaki c965f254cb missing validation flag change 2014-09-24 15:33:31 +09:00
Yuichi Nishiwaki 07f24db66f add make_escape 2014-09-24 14:57:49 +09:00
Yuichi Nishiwaki 951af56540 publish struct pic_escape 2014-09-24 14:53:09 +09:00
Yuichi Nishiwaki 669f9b28de add prototypes for eq? and eqv? 2014-09-21 18:19:13 +09:00
Yuichi Nishiwaki 712be55bc3 cosmetic changes 2014-09-21 18:07:09 +09:00
Yuichi Nishiwaki 319db5fc9f remove unused helper functions 2014-09-21 18:05:43 +09:00
Yuichi Nishiwaki 1c2af96340 remove dictionary-map and dictionary-for-each 2014-09-21 16:26:56 +09:00
Yuichi Nishiwaki 732ca8e36d update readme 2014-09-21 15:43:09 +09:00
Yuichi Nishiwaki db71ce9bfa Merge branch 'mutable-string' 2014-09-21 15:33:27 +09:00
Yuichi Nishiwaki 77c0a893ff spill out string mutators 2014-09-21 15:32:55 +09:00
Yuichi Nishiwaki 08e64ec563 update readme. 2014-09-20 21:01:55 +09:00
Yuichi Nishiwaki 851da542b0 Merge branch 'escape-continuation' 2014-09-20 20:30:14 +09:00
Yuichi Nishiwaki de1b771326 remove pic_callcc 2014-09-20 20:26:07 +09:00
Yuichi Nishiwaki 2dd48b4dc0 add pic_escape 2014-09-20 16:52:50 +09:00
Yuichi Nishiwaki 1d7669a5d4 update xhash 2014-09-20 11:47:05 +09:00
Yuichi Nishiwaki b212e278a0 Merge pull request #42 from omasanori/clang
Fix a name of compiler identifier macro for Clang.
2014-09-20 10:24:44 +09:00
OGINO Masanori 15ad9d05ac Fix a name of compiler identifier macro for Clang.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-09-19 23:52:32 +09:00
Yuichi Nishiwaki 6c8b74b612 Merge pull request #41 from omasanori/miscompare
Fix a bug due to the operator precedence of C.
2014-09-19 21:00:31 +09:00
OGINO Masanori 6a784897a4 Fix a bug due to the operator precedence of C.
The expression ```! pic_length(pic, spec) == 3``` is treated as ```(!
pic_length(pic, spec)) == 3``` since ! has higher precedence than ==.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-09-19 18:28:55 +09:00
Yuichi Nishiwaki 0c67a4b77f implement vector-map, vector-for-each, string-map, string-for-each 2014-09-19 18:16:28 +09:00
Yuichi Nishiwaki 1ff327b11f update xfile.h. close #40 2014-09-19 17:47:55 +09:00
Yuichi Nishiwaki c425815313 print backtrace to stderr 2014-09-19 17:11:59 +09:00
Yuichi Nishiwaki 3aa3669723 republish dynamic wind functions 2014-09-18 22:33:20 +09:00
Yuichi Nishiwaki 6b1be61596 spill out continuation type to extra data type family 2014-09-18 22:25:06 +09:00
Yuichi Nishiwaki 17602a5c8d unpublish pic_wind 2014-09-18 19:26:58 +09:00
Yuichi Nishiwaki 7e3d33d86c Merge branch 'exception-handling-and-dynamic-wind' 2014-09-18 14:56:33 +09:00
Yuichi Nishiwaki 7a8144bbf7 cosmetic change 2014-09-18 14:50:58 +09:00
Yuichi Nishiwaki 978c51bb26 compact struct pic_jmpbuf 2014-09-18 14:50:01 +09:00
Yuichi Nishiwaki b0b1b77c65 [bugfix] don't refer to env storage when accessing non-captured variable 2014-09-18 14:14:09 +09:00
Yuichi Nishiwaki 46c1d0f2a7 use call/cc in exception handler implementation 2014-09-18 14:12:18 +09:00
Yuichi Nishiwaki 6a8a7d93e7 use raise-continuable in raise procedure 2014-09-17 22:34:51 +09:00
Yuichi Nishiwaki de92aab194 with-exception-handler don't need to catch the continuation! 2014-09-17 22:21:31 +09:00
Yuichi Nishiwaki d33d0eee85 inline pic_try/pic_catch in with_exception_handler 2014-09-17 22:13:00 +09:00
Yuichi Nishiwaki a17e79a160 add pic_raise_continuable 2014-09-17 21:58:51 +09:00
Yuichi Nishiwaki 836c607979 s/walk_to_block/pic_wind/g 2014-09-17 15:26:42 +09:00
Yuichi Nishiwaki b4c3f4fb73 pic_block -> pic_winder 2014-09-17 15:09:15 +09:00
Yuichi Nishiwaki 06971a1144 Merge branch 'custom-marker' 2014-09-17 12:57:56 +09:00
Yuichi Nishiwaki de854c0d47 add "more example" 2014-09-17 04:00:17 +09:00
Yuichi Nishiwaki e7c9b15d1f import (picrin base) to (picrin user) by default 2014-09-17 04:00:03 +09:00
Yuichi Nishiwaki dbbc2c1a25 inline pic_car and pic_cdr 2014-09-17 01:07:25 +09:00
Yuichi Nishiwaki 565ee431af s/pic_abort/pic_panic/g 2014-09-17 01:02:27 +09:00
Yuichi Nishiwaki a7c2933e01 Merge branch 'error-api' 2014-09-17 00:50:15 +09:00
Yuichi Nishiwaki 05e76c0467 remove read-error? and file-error? and add error-object-type instead 2014-09-17 00:49:37 +09:00
Yuichi Nishiwaki 854f83a247 add make-error-object procedure 2014-09-17 00:43:12 +09:00