Commit Graph

62 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 9515060b00 rename I/O functions 2016-06-20 04:49:01 +09:00
Sunrin SHIMURA (keen) d4b9e38fd6 use aligned allocating so that finding objct's heap_page is O(1) 2016-06-18 19:25:07 +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 e050da8af1 add pic_sym macro 2016-02-23 02:37:33 +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 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 8dd423cdbc add include/picrin/private dir 2016-02-21 01:37:40 +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 d851273f60 struct pic_port * -> pic_value 2016-02-20 16:51:24 +09:00
Yuichi Nishiwaki fc37af43b5 pic_id * -> pic_value 2016-02-20 15:59:06 +09:00
Yuichi Nishiwaki f4efaf5dc0 pic_sym * -> pic_value 2016-02-20 15:31:14 +09:00
Yuichi Nishiwaki 2d5fbc889e struct pic_string * -> pic_value 2016-02-20 03:26:52 +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 3198e77ac1 remove symbol.h 2016-02-19 01:05:50 +09:00
Yuichi Nishiwaki 387ba469c8 add pic_dict_next 2016-02-19 00:39:13 +09:00
Yuichi Nishiwaki 645e5bee3a remove vector.h 2016-02-19 00:08:39 +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 a92e70a610 remove typedefs of struct pic_string and struct pic_blob 2016-02-15 00:20:49 +09:00
Yuichi Nishiwaki 0d8d7d5b91 remove xformat family 2016-02-08 01:32:13 +09:00
Yuichi Nishiwaki e51d3db812 symbol is an identifier 2016-02-06 23:15:53 +09:00
Yuichi Nishiwaki 6f3083c3ca never use size_t 2015-08-26 19:04:27 +09:00
Yuichi Nishiwaki c2754509f2 remove PIC_ENABLE_FLOAT flag 2015-07-20 02:19:41 +09:00
Yuichi Nishiwaki 8587fe6dfc fix benz's issue 29 2015-06-25 22:33:17 +09:00
Yuichi Nishiwaki b71c9dcbff cosmetic changes 2015-06-25 18:51:21 +09:00
Yuichi Nishiwaki cc9dd2aa30 saner output from write
No more insane output such as (#0=(1 2 3) #0#).
2015-06-25 18:43:06 +09:00
Yuichi Nishiwaki 032e40e963 cleanup write_core 2015-06-25 17:50:20 +09:00
Yuichi Nishiwaki 37902d38f7 cleanup traverse_shared 2015-06-25 17:28:48 +09:00
Yuichi Nishiwaki 3004f2106c write supports #' #` #, #,@ 2015-06-25 17:19:34 +09:00
Yuichi Nishiwaki 9db8b33c61 abandon xhash 2015-06-25 07:58:58 +09:00
Yuichi Nishiwaki 5cf1822813 use khash for dictionary impl 2015-06-25 05:56:15 +09:00
Yuichi Nishiwaki 07fc2bb98e cleanup 2015-06-24 01:13:18 +09:00
Yuichi Nishiwaki 3df7d1dd71 use pic_malloc and pic_free in file.c 2015-06-19 02:05:56 +09:00
Yuichi Nishiwaki 3a59a95960 [WIP] replace macro expander
remove define-syntax, add define-macro instead

saner display when writing identifiers
2015-06-15 02:48:31 +09:00
Yuichi Nishiwaki 015971ffc4 remove define-record-writer 2015-06-15 02:25:09 +09:00
Yuichi Nishiwaki 5185a73cd2 replace none with undef 2015-06-09 16:34:45 +09:00
Yuichi Nishiwaki 084d39cd9e let undefined be public API 2015-06-09 16:19:57 +09:00
Yuichi Nishiwaki 9b7eb2f996 unify all headers into picrin.h 2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki e30f1a11dc more strict unused variable check 2015-05-28 17:06:41 +09:00