Commit Graph

134 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 8dd423cdbc add include/picrin/private dir 2016-02-21 01:37:40 +09:00
Yuichi Nishiwaki 317369a914 don't include picrin/state.h by default 2016-02-21 00:30:40 +09:00
Yuichi Nishiwaki 4751131b4f rename PIC_GC_MARK and PIC_GC_UNMARK 2016-02-20 23:02: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 0d8a45191a struct pic_data * -> pic_value 2016-02-19 23:30:47 +09:00
Yuichi Nishiwaki 3e4a4755dc struct pic_dict * -> pic_value 2016-02-19 19:08:45 +09:00
Yuichi Nishiwaki 4d38e08c98 pic_gc_arena_preserve -> pic_enter 2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki 387ba469c8 add pic_dict_next 2016-02-19 00:39:13 +09:00
Yuichi Nishiwaki 3dd8290dd3 add picrin/object.h 2016-02-19 00:03:54 +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 561c350a12 library is now a non-first-class object 2016-02-18 17:39:32 +09:00
Yuichi Nishiwaki 294477ff13 kh_s_t -> kh_oblist_t 2016-02-15 13:00:57 +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 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 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 fd248d31bd optimize symbol->string 2016-02-08 03:36:20 +09:00
Yuichi Nishiwaki f263e9432e remove gref slot 2016-02-07 22:17:56 +09:00
Yuichi Nishiwaki cc75877a76 simplify struct pic_record 2016-02-07 02:58:18 +09:00
Yuichi Nishiwaki e51d3db812 symbol is an identifier 2016-02-06 23:15:53 +09:00
Yuichi Nishiwaki 497595a0f7 pool now only contains heap objects 2016-02-06 21:11:22 +09:00
Yuichi Nishiwaki 5af1b44456 wrap irep fields with unions 2016-02-06 18:37:40 +09:00
Yuichi Nishiwaki 0fd529c968 change mangling rule for global variables 2016-02-06 04:07:37 +09:00
Yuichi Nishiwaki 64788af4b9 manage ireps using reference count 2016-02-05 00:31:57 +09:00
Yuichi Nishiwaki 337ba027f2 attribute as a macro 2016-02-03 21:49:55 +09:00
Doug Currie 6881ac6d4d Reduce size of data object by removing unused dict field 2016-01-15 23:44:07 -05:00
Yuichi Nishiwaki 6f3083c3ca never use size_t 2015-08-26 19:04:27 +09:00
Yuichi Nishiwaki 06af0265f6 remove pic->sGREF, sLREF, sCREF, sCALL 2015-08-25 19:37:20 +09:00
Yuichi Nishiwaki b96846dc6e don't use @@type property 2015-08-11 01:34:45 +09:00
Yuichi Nishiwaki c139bb0f08 simplify pic_default_alloc impl 2015-08-10 21:17:26 +09:00
Yuichi Nishiwaki c573f2c56e stateful allocator 2015-08-10 21:13:23 +09:00
Yuichi Nishiwaki 50dce97bac unify struct pic_object and union object 2015-08-05 10:59:52 +09:00
Yuichi Nishiwaki 5fa24f9767 global variable table may be weak 2015-08-05 09:36:32 +09:00
Yuichi Nishiwaki 987931bd0f add box.h 2015-08-05 08:52:28 +09:00
Yuichi Nishiwaki 261580309e clean up 2015-08-05 08:50:24 +09:00
Yuichi Nishiwaki 1a71f3f578 move regs field from pic_state to pic_heap 2015-07-26 16:48:38 +09:00
Yuichi Nishiwaki da0c9d2594 cleanup 2015-07-23 17:10:53 +09:00
Yuichi Nishiwaki fae4e28396 shrink union header size 2015-07-23 17:10:53 +09:00
Yuichi Nishiwaki 569b14d684 cosmetic changes 2015-07-20 15:18:12 +09:00
Yuichi Nishiwaki 7db74c4b7a rewrite gc.c with union object 2015-07-20 15:02:16 +09:00
Yuichi Nishiwaki e6c35764dd TCO for gc_mark_object 2015-07-20 14:24:58 +09:00
Yuichi Nishiwaki 7dc26dd674 don't use PIC_VTYPE_FOO constants outside type.h 2015-07-20 14:07:24 +09:00
Yuichi Nishiwaki f5b07cacd2 remove alignment field 2015-07-20 13:51:37 +09:00
Yuichi Nishiwaki 1258b8bff3 cosmetic chagnes 2015-07-20 13:51:37 +09:00
Yuichi Nishiwaki c2754509f2 remove PIC_ENABLE_FLOAT flag 2015-07-20 02:19:41 +09:00