Commit Graph

813 Commits

Author SHA1 Message Date
Yuichi Nishiwaki a9574155b8 do not free objects in pic->irep by hands 2014-01-18 16:59:43 +09:00
Yuichi Nishiwaki 82e205bbd0 Merge branch 'master' into irep-gc 2014-01-18 16:58:24 +09:00
Yuichi Nishiwaki 9d18af51da some global stacks are missed to free 2014-01-18 16:58:14 +09:00
Yuichi Nishiwaki 0db09b146c ireps generated by top codegen are not registered to pic->irep. get them
marked manually.
2014-01-18 16:56:20 +09:00
Yuichi Nishiwaki 42c097a91f pic->irep is a root marker 2014-01-18 16:55:11 +09:00
Yuichi Nishiwaki 11e4f1644b irep object is now controlled under GC 2014-01-18 16:53:39 +09:00
Yuichi Nishiwaki 586b228156 add PIC_TT_IREP 2014-01-18 16:51:54 +09:00
Yuichi Nishiwaki b62374b4b4 s/print_irep/pic_dump_irep/g 2014-01-18 16:23:12 +09:00
Yuichi Nishiwaki acb513aa16 publish pic_callcc 2014-01-18 16:08:07 +09:00
Yuichi Nishiwaki 3ff7d5b208 grammatical fix 2014-01-18 16:06:59 +09:00
Yuichi Nishiwaki 9d8cf24d9d keep track of internal changes of picrin for etc/tak.scm 2014-01-18 13:07:29 +09:00
Yuichi Nishiwaki e195ec7847 add line counter target in makefile 2014-01-18 13:06:56 +09:00
Yuichi Nishiwaki ee4cb87083 impl pic_unwrap_var 2014-01-18 12:58:00 +09:00
Yuichi Nishiwaki a16dcb9931 impl pic_set 2014-01-18 12:55:44 +09:00
Yuichi Nishiwaki abdd992bf5 ignore .dir-locals.el 2014-01-18 12:45:11 +09:00
Yuichi Nishiwaki 4522dd47af do not put includes in header, but put it in c file 2014-01-18 12:43:38 +09:00
Yuichi Nishiwaki 1aa47ad45a add 'extern "C"' to all header files 2014-01-18 12:41:39 +09:00
Yuichi Nishiwaki 8fd89090c6 cleanup 2014-01-17 21:21:21 +09:00
Yuichi Nishiwaki b1424465f4 grammatical fix 2014-01-17 21:16:26 +09:00
Yuichi Nishiwaki f8748dfd64 revise the top section on readme 2014-01-17 21:11:43 +09:00
Yuichi Nishiwaki dd9f7a2a55 add AUTHORS file 2014-01-17 21:02:31 +09:00
Yuichi Nishiwaki ca068f560b clarify license information 2014-01-17 20:58:31 +09:00
Yuichi Nishiwaki dc773f9560 decl indicator positioning functions 2014-01-17 20:11:06 +09:00
Yuichi Nishiwaki ecaf96ea14 add missing break statement 2014-01-17 13:16:55 +09:00
Yuichi Nishiwaki dfd5f96e7e change memory open API 2014-01-17 13:11:52 +09:00
Yuichi Nishiwaki c39f598dc8 add closer debug print 2014-01-16 22:03:00 +09:00
Yuichi Nishiwaki 43f3f6d0ce impl pic_close 2014-01-16 22:02:50 +09:00
Yuichi Nishiwaki db75df2624 add heap finializer 2014-01-16 22:02:30 +09:00
Yuichi Nishiwaki 1433698fe5 publish pic_gc_run 2014-01-16 22:02:09 +09:00
Yuichi Nishiwaki 8f2f1faf63 use shorter name for library external representation 2014-01-16 21:32:38 +09:00
Yuichi Nishiwaki 5929020429 reordering functions 2014-01-16 21:32:22 +09:00
Yuichi Nishiwaki 41dea6c5d2 split functions related to 'write' procedure into files 2014-01-16 21:31:46 +09:00
Yuichi Nishiwaki eaf79ce757 cosmetic changes 2014-01-16 21:00:55 +09:00
Yuichi Nishiwaki 73ad915fcf set 0 to file->flags by default 2014-01-16 21:00:45 +09:00
Yuichi Nishiwaki 94b2a68f7f change mwopen's API 2014-01-16 20:36:22 +09:00
Yuichi Nishiwaki 9fbf7e1914 cleanup 2014-01-16 20:27:39 +09:00
Yuichi Nishiwaki 8709ada140 replace fpos_t with long since old versions of clang and gcc seem claim
that fpos_t and long are not convertible
2014-01-16 20:13:13 +09:00
Yuichi Nishiwaki 31adf248af suppress warnings 2014-01-16 20:08:22 +09:00
Yuichi Nishiwaki df313b5bd9 decl memory access functions 2014-01-16 20:04:27 +09:00
Yuichi Nishiwaki 6f32cbdea3 handle end-of-file while reading file object 2014-01-16 19:56:45 +09:00
Yuichi Nishiwaki 74be43195d cosmetic fixes 2014-01-16 19:56:02 +09:00
Yuichi Nishiwaki 1b45536fe2 [bugfix] ungetc enters infinite loop 2014-01-16 19:54:19 +09:00
Yuichi Nishiwaki 44be26b36f want reader and writer to return the actual byte count, not item count 2014-01-16 19:53:46 +09:00
Yuichi Nishiwaki 2ff0a5061b wrong timing and offset for buffer shifting in reading 2014-01-16 19:52:42 +09:00
Yuichi Nishiwaki 9aef0cdac0 get rid of a small redundant code 2014-01-16 19:51:40 +09:00
Yuichi Nishiwaki f564626556 pic_fflush and pic_ffill should change cursor positions 2014-01-16 19:51:03 +09:00
Yuichi Nishiwaki a5f478a7d5 currently pic_file don't support _IONBF mode 2014-01-16 19:49:41 +09:00
Yuichi Nishiwaki 5ee9539e9b impl pic_ungetc 2014-01-16 18:42:25 +09:00
Yuichi Nishiwaki 4e495c6fcc [WIP] add a buffer for ungetc 2014-01-16 18:42:10 +09:00
Yuichi Nishiwaki 9897f7581f impl pic_fread with buffering 2014-01-16 18:41:10 +09:00