Commit Graph

693 Commits

Author SHA1 Message Date
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
Yuichi Nishiwaki 3dd8290dd3 add picrin/object.h 2016-02-19 00:03:54 +09:00
Yuichi Nishiwaki 0a715e4916 use pic_blob_value 2016-02-18 23:59:33 +09:00
Yuichi Nishiwaki 126989e4ec cleanup 2016-02-18 23:52:20 +09:00
Yuichi Nishiwaki ada84f48d6 add some object constructors/destructors 2016-02-18 23:49:16 +09:00
Yuichi Nishiwaki 08652df612 don't include type.h at the beginning of picrin.h 2016-02-18 23:35:55 +09:00
Yuichi Nishiwaki 615bdff61a add pic_state parameter (to be used by copy gc) 2016-02-18 20:15:42 +09:00
Yuichi Nishiwaki a3f9a3be68 remove WORD_BOXING mode 2016-02-18 18:58:32 +09:00
Yuichi Nishiwaki 561c350a12 library is now a non-first-class object 2016-02-18 17:39:32 +09:00
Yuichi Nishiwaki 7816be80c1 pic_lookup_identifier -> pic_find_identifier 2016-02-18 16:38:59 +09:00
Yuichi Nishiwaki 8610f5090d change the behavior of pic_deflibrary
fix regression
2016-02-15 13:28:13 +09:00
Yuichi Nishiwaki 294477ff13 kh_s_t -> kh_oblist_t 2016-02-15 13:00:57 +09:00
Yuichi Nishiwaki d30cdf7409 add picrin/setup.h and picrin/state.h 2016-02-15 00:50:02 +09:00
Yuichi Nishiwaki 4a3104187e cosmetic changes 2016-02-15 00:33:59 +09:00
Yuichi Nishiwaki a92e70a610 remove typedefs of struct pic_string and struct pic_blob 2016-02-15 00:20:49 +09:00
Yuichi Nishiwaki 780df6275b move more decls to picrin.h 2016-02-15 00:10:12 +09:00
Yuichi Nishiwaki f70dd4d376 add pic_closure_ref, pic_closure_set, and pic_lambda 2016-02-14 22:23:14 +09:00
Yuichi Nishiwaki 8814469eac pic_apply_trampoline -> pic_applyk 2016-02-14 17:14:33 +09:00
Yuichi Nishiwaki 2632956b6e fix regression 2016-02-14 17:13:38 +09:00
Yuichi Nishiwaki e8a6f64dd5 remove pic_applyk 2016-02-14 13:46:55 +09:00
Yuichi Nishiwaki 69b660e9a3 remove pic_funcallk and add pic_call 2016-02-14 13:33:15 +09:00
Yuichi Nishiwaki 417a44b786 change the behavior of pic_define 2016-02-14 13:25:18 +09:00
Yuichi Nishiwaki 549d939ce6 add pic_alloca 2016-02-14 13:19:54 +09:00
Yuichi Nishiwaki 5946c3ab39 pic_gc_run -> pic_gc 2016-02-14 13:17:12 +09:00
Yuichi Nishiwaki dc80bc5850 cleanup picrin.h 2016-02-14 13:15:33 +09:00
Yuichi Nishiwaki 8a80f3805e update copyright 2016-02-14 13:06:54 +09:00
Yuichi Nishiwaki 271a4b6586 make-register -> make-ephemeron 2016-02-10 21:57:20 +09:00
Yuichi Nishiwaki b577b2d453 reg -> weak 2016-02-10 21:50:39 +09:00
Yuichi Nishiwaki 7b86c6d34e intern table seems conventionally called 'oblist' 2016-02-10 21:31:22 +09:00
Yuichi Nishiwaki 205ca79626 remove pic->argc/argv/envp 2016-02-10 01:38:05 +09:00
Yuichi Nishiwaki 3bc55b8b62 unwrap union fields 2016-02-08 13:51:41 +09:00
Yuichi Nishiwaki c7f8293368 add pic_intern_(str|cstr|lit) 2016-02-08 04:10:22 +09:00