Commit Graph

159 Commits

Author SHA1 Message Date
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 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
Yuichi Nishiwaki 061ddb58ee publish pic_make_error 2014-09-17 00:43:03 +09:00
Yuichi Nishiwaki 486c99bf6f [bugfix] 'type' field is now of pic_sym type 2014-09-17 00:32:52 +09:00
Yuichi Nishiwaki 78a982fb41 refactor error object 2014-09-17 00:29:17 +09:00
Yuichi Nishiwaki 33efb3e950 remove pic_error 2014-09-16 23:43:15 +09:00
Yuichi Nishiwaki 1b36b5d2ff update xhash (orderd map) 2014-09-16 22:38:58 +09:00
Yuichi Nishiwaki eb261a293a add custom marker 2014-09-16 16:18:19 +09:00
Yuichi Nishiwaki db5a4e367b s/pic_port_make_stdport/pic_make_standard_port/g 2014-09-16 15:06:45 +09:00
Yuichi Nishiwaki 8729a98af7 more preinterned symbols 2014-09-16 15:02:47 +09:00
Yuichi Nishiwaki ec0e5439af pic_funcall should take a module for its argument 2014-09-16 00:29:19 +09:00
Yuichi Nishiwaki e698621ca7 no export current-dynamic-environment 2014-09-16 00:22:54 +09:00
Yuichi Nishiwaki 7db18677ab add pic_define_noexport 2014-09-16 00:21:24 +09:00
Yuichi Nishiwaki 597e000000 remove pic_defined_p 2014-09-16 00:17:04 +09:00
Yuichi Nishiwaki 9c4d815864 add pic_defvar 2014-09-16 00:16:30 +09:00
Yuichi Nishiwaki 678d2484ec Merge branch 'parameter-and-dynamic-environment' 2014-09-15 15:53:09 +09:00
Yuichi Nishiwaki 0cc08c69f9 [bugfix] funcall doesn't take a module to run 2014-09-15 15:51:31 +09:00
Yuichi Nishiwaki 0a0c085003 implement parameterize 2014-09-15 15:49:04 +09:00
Yuichi Nishiwaki 788ac686af refactor parameter. var data structure is no longer used 2014-09-15 15:38:38 +09:00
Yuichi Nishiwaki 7d64852b88 add definition of pic_set 2014-09-15 15:36:27 +09:00
Yuichi Nishiwaki 8bbbbff9a2 add pic_defined_p 2014-09-15 15:09:29 +09:00
Yuichi Nishiwaki a615eace09 pic_var_push and pic_var_pop are private APIs 2014-09-15 12:52:47 +09:00
Yuichi Nishiwaki 56b9173a98 Merge pull request #30 from picrin-scheme/object-dictionary
Object-to-object dictionary
2014-09-15 12:52:09 +09:00
Yuichi Nishiwaki df7a4381d0 add missing quote 2014-09-15 12:47:32 +09:00
Yuichi Nishiwaki 5d06801704 [bugfix] plist<->dictionary broken 2014-09-15 12:41:51 +09:00
Yuichi Nishiwaki 48f0ec9095 dictionary is now a equal?-based hash table 2014-09-15 12:39:46 +09:00
Yuichi Nishiwaki f8ec4ea2e1 remove debug print 2014-09-15 12:34:57 +09:00
Yuichi Nishiwaki fc9f09e05b don't use dictionaries as import_table 2014-09-15 12:32:20 +09:00
Yuichi Nishiwaki 0ae0618edf move debug prints in the VM 2014-09-14 22:59:29 +09:00