Commit Graph

680 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 8a9a1200d8 pic_catch binds current error object to a variable 2016-02-25 20:52:38 +09:00
Yuichi Nishiwaki 73e38657ff remove pic->native_stack_start 2016-02-24 16:32:24 +09:00
Yuichi Nishiwaki 29d7a7fc48 pic->lib is now of string type 2016-02-24 03:59:51 +09:00
Yuichi Nishiwaki 17d75f915f s/PIC_OBJECT_HEADER/OBJECT_HEADER/g 2016-02-24 02:36:09 +09:00
Yuichi Nishiwaki 17ccaea236 remove pic->ccnt 2016-02-23 23:28:28 +09:00
Yuichi Nishiwaki eea41c53d7 cleanup 2016-02-23 22:55:15 +09:00
Yuichi Nishiwaki 54d9d4865c pic_assert_type -> TYPE_CHECK 2016-02-23 22:53:20 +09:00
Yuichi Nishiwaki e93536bf9a struct pic_cont -> struct cont 2016-02-23 22:48:06 +09:00
Yuichi Nishiwaki b3e9794385 remove pic->xp 2016-02-23 22:42:03 +09:00
Yuichi Nishiwaki 34331dad6f [bugfix] make-parameter is broken 2016-02-23 20:50:26 +09:00
Yuichi Nishiwaki 4c6fe54d34 [bugfix] dynamic-wind is broken 2016-02-23 20:29:27 +09:00
Yuichi Nishiwaki a96e5a0beb cosmetic changes 2016-02-23 14:15:42 +09:00
Yuichi Nishiwaki 4a0d077044 picrin/config.h -> picconf.h 2016-02-23 14:09:15 +09:00
Yuichi Nishiwaki 2ca7e630f0 write is now pluggable 2016-02-23 04:40:50 +09:00
Yuichi Nishiwaki 4e1aaf8b89 pic_strf_value does not interpret '~s' format specifier 2016-02-23 04:24:42 +09:00
Yuichi Nishiwaki fae7ef0376 pic_errorf -> pic_error 2016-02-23 04:03:42 +09:00
Yuichi Nishiwaki 42d0ecc633 don't use '~s' format specifier with pic_warnf 2016-02-23 02:39:33 +09:00
Yuichi Nishiwaki e050da8af1 add pic_sym macro 2016-02-23 02:37:33 +09:00
Yuichi Nishiwaki 229555fa83 remove pic_error 2016-02-23 02:23:22 +09:00
Yuichi Nishiwaki 368fa17de3 do not use '~s' style format specifier with pic_strf_value 2016-02-23 02:15:37 +09:00
Yuichi Nishiwaki c34f24e58c remove macro.c 2016-02-22 23:57:07 +09:00
Yuichi Nishiwaki 8d17bf3175 change pic_add_identifier's behavior 2016-02-22 23:49:39 +09:00
Yuichi Nishiwaki 1a8bc0bc66 update readme 2016-02-22 23:19:30 +09:00
Yuichi Nishiwaki e6382965ef cleanup extra.h 2016-02-22 00:30:37 +09:00
Yuichi Nishiwaki b436207eba PIC_DIRECT_THREADED_VM and PIC_NAN_BOXING are now unconfigurable 2016-02-21 23:32:18 +09:00
Yuichi Nishiwaki 4c376650ca fix build 2016-02-21 23:20:34 +09:00
Yuichi Nishiwaki f61fc19692 missing abort declaration 2016-02-21 21:12:24 +09:00
Yuichi Nishiwaki 2a17a2a9c2 add PIC_TYPE_FUNC and PIC_TYPE_IREP 2016-02-21 20:42:41 +09:00
Yuichi Nishiwaki 608569e876 drop pic_ prefix of structs 2016-02-21 20:32:12 +09:00
Yuichi Nishiwaki bfe6cef4c8 pic_sym -> symbol, pic_id -> identifier 2016-02-21 20:21:02 +09:00
Yuichi Nishiwaki 684eb6502d pic_callinfo -> struct pic_callinfo, pic_code -> struct pic_code 2016-02-21 20:18:31 +09:00
Yuichi Nishiwaki 5c7c5a69cf remove debug code 2016-02-21 20:13:05 +09:00
Yuichi Nishiwaki d49e25a5b4 remove opcode.h 2016-02-21 20:12:58 +09:00
Yuichi Nishiwaki 2a0a7be40d C++ mode of PIC_UNUSED 2016-02-21 19:19:35 +09:00
Yuichi Nishiwaki f8b05efa7f don't call pic_panic on internal logic flaw 2016-02-21 19:02:23 +09:00
Yuichi Nishiwaki 54301ce98c add pic_atpanic 2016-02-21 18:59:18 +09:00
Yuichi Nishiwaki 7a440186c6 remove unused definitions 2016-02-21 18:34:19 +09:00
Yuichi Nishiwaki 2ee33b5d57 remove read.h 2016-02-21 18:29:17 +09:00
Yuichi Nishiwaki 5bd390aa79 use weak map to control writer 2016-02-21 18:01:41 +09:00
Yuichi Nishiwaki efa15fd5ce fix write
```
(define a '#0=(1 . #0#))
(write (cons a a))
```
spits strange display
2016-02-21 17:35:28 +09:00
Yuichi Nishiwaki f1ef21be23 simplify writer_control 2016-02-21 16:04:34 +09:00
Yuichi Nishiwaki 07e7785241 insert assertion to pic_foo_ptr 2016-02-21 05:39:15 +09:00
Yuichi Nishiwaki f89a55c082 remove pre-interned symbols 2016-02-21 04:34:26 +09:00
Yuichi Nishiwaki 864a17d0be khiter_t -> int 2016-02-21 01:52:34 +09:00
Yuichi Nishiwaki 66717f2b43 fix offsetof 2016-02-21 01:47:08 +09:00
Yuichi Nishiwaki 8dd423cdbc add include/picrin/private dir 2016-02-21 01:37:40 +09:00
Yuichi Nishiwaki 2246cc42d9 integrate mutable-string.c into the core 2016-02-21 01:04:55 +09:00
Yuichi Nishiwaki 53b760cfac add picrin/extra.h 2016-02-21 00:58:58 +09:00
Yuichi Nishiwaki 317369a914 don't include picrin/state.h by default 2016-02-21 00:30:40 +09:00
Yuichi Nishiwaki 10aae770c9 refactor pic_try/catch 2016-02-20 23:55:40 +09:00
Yuichi Nishiwaki 4751131b4f rename PIC_GC_MARK and PIC_GC_UNMARK 2016-02-20 23:02:49 +09:00
Yuichi Nishiwaki 9e5f846787 make pic_get_args more useful 2016-02-20 21:16:10 +09:00
Yuichi Nishiwaki b5a27437e3 cleanup 2016-02-20 20:14:40 +09:00
Yuichi Nishiwaki d0dc577810 move typedefs 2016-02-20 19:10:51 +09:00
Yuichi Nishiwaki cafc7c88ea add pic_exit_point 2016-02-20 19:08:07 +09:00
Yuichi Nishiwaki 4affb1c1ce remove type.h and cont.h 2016-02-20 19:00:41 +09:00
Yuichi Nishiwaki fcb3182e08 publish xfile API 2016-02-20 18:34:13 +09:00
Yuichi Nishiwaki d3b188e44d cleanup file.h 2016-02-20 18:07:15 +09:00
Yuichi Nishiwaki 73f2578648 struct pic_record * -> pic_value 2016-02-20 17:27:13 +09:00
Yuichi Nishiwaki da30be167b struct pic_error * -> pic_value 2016-02-20 16:59:05 +09:00
Yuichi Nishiwaki d851273f60 struct pic_port * -> pic_value 2016-02-20 16:51:24 +09:00
Yuichi Nishiwaki 215e159598 struct pic_env * -> pic_value 2016-02-20 16:33:51 +09:00
Yuichi Nishiwaki 45879deafd move the definiton of pic_checkpoint to object.h 2016-02-20 16:12:21 +09:00
Yuichi Nishiwaki d91ec28474 cosmetic change 2016-02-20 16:02:34 +09:00
Yuichi Nishiwaki 0f1c47c421 s/identifier-variable/identifier-base/g 2016-02-20 16:00:37 +09:00
Yuichi Nishiwaki fc37af43b5 pic_id * -> pic_value 2016-02-20 15:59:06 +09:00
Yuichi Nishiwaki c57655c7ac don't use pic_false_p if possible 2016-02-20 15:34:49 +09:00
Yuichi Nishiwaki f4efaf5dc0 pic_sym * -> pic_value 2016-02-20 15:31:14 +09:00
Yuichi Nishiwaki 1a316a7a69 change irep of symbol and identifier 2016-02-20 05:18:13 +09:00
Yuichi Nishiwaki ef26a75d45 struct pic_weak * -> pic_value 2016-02-20 04:35:15 +09:00
Yuichi Nishiwaki 2d5fbc889e struct pic_string * -> pic_value 2016-02-20 03:26:52 +09:00
Yuichi Nishiwaki 5254e80932 struct pic_proc * -> pic_value 2016-02-20 00:03:16 +09:00
Yuichi Nishiwaki 0d8a45191a struct pic_data * -> pic_value 2016-02-19 23:30:47 +09:00
Yuichi Nishiwaki 064eaff498 struct pic_blob * -> pic_value 2016-02-19 23:22:41 +09:00
Yuichi Nishiwaki 1e08a7f21a struct pic_pair * -> pic_value 2016-02-19 22:09:06 +09:00
Yuichi Nishiwaki 25e19d4f00 struct pic_vector * -> pic_value 2016-02-19 21:56:45 +09:00
Yuichi Nishiwaki 3e4a4755dc struct pic_dict * -> pic_value 2016-02-19 19:08:45 +09:00
Yuichi Nishiwaki 03fed95b32 don't allocate on continuation call 2016-02-19 18:04:38 +09:00
Yuichi Nishiwaki b070d9c1dc add pic_return 2016-02-19 17:38:49 +09:00
Yuichi Nishiwaki d965a3da5a remove macro.h 2016-02-19 16:58:39 +09:00
Yuichi Nishiwaki 935199ea5e reader uses xFILE* directly 2016-02-19 16:51:45 +09:00
Yuichi Nishiwaki 4d38e08c98 pic_gc_arena_preserve -> pic_enter 2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki f0386657be cosmetic changes 2016-02-19 16:15:09 +09:00
Yuichi Nishiwaki fe54b1315b pic_obj_alloc is not a public api 2016-02-19 13:58:45 +09:00
Yuichi Nishiwaki 5402611323 remove port.h 2016-02-19 05:58:34 +09:00
Yuichi Nishiwaki 84c2866b2b cleanup port API 2016-02-19 05:54:50 +09:00
Yuichi Nishiwaki 8ec052c09f reimplement string-io procedures in scheme 2016-02-19 03:58:09 +09:00
Yuichi Nishiwaki ec9c0e8841 [bugfix] rope_at 2016-02-19 03:57:15 +09:00
Yuichi Nishiwaki bb2f9c0367 don't distinguish textual and binary ports 2016-02-19 03:03:29 +09:00
Yuichi Nishiwaki 00e98548d7 remove pair.h 2016-02-19 02:29:40 +09:00
Yuichi Nishiwaki 9ae6f0cbe9 remove error.h 2016-02-19 01:34:13 +09:00
Yuichi Nishiwaki 3198e77ac1 remove symbol.h 2016-02-19 01:05:50 +09:00
Yuichi Nishiwaki 665eda1d92 remove record.h 2016-02-19 00:59:45 +09:00
Yuichi Nishiwaki 18b873f723 remove proc.h 2016-02-19 00:56:56 +09:00
Yuichi Nishiwaki 8979b65b0c remove data.h 2016-02-19 00:50:13 +09:00
Yuichi Nishiwaki 0243c52b14 remove dict.h 2016-02-19 00:40:35 +09:00
Yuichi Nishiwaki 387ba469c8 add pic_dict_next 2016-02-19 00:39:13 +09:00
Yuichi Nishiwaki aa2121b61c remove blob.h 2016-02-19 00:20:15 +09:00
Yuichi Nishiwaki cfc32a1b15 remove string.h 2016-02-19 00:14:50 +09:00
Yuichi Nishiwaki 645e5bee3a remove vector.h 2016-02-19 00:08:39 +09:00