Commit Graph

1392 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 249f2e40df copy piclib to build dir 2014-03-02 02:39:50 +09:00
Yuichi Nishiwaki dc7a7be22b add c99 flag in CMakeLists.txt 2014-03-02 02:26:08 +09:00
Yuichi Nishiwaki e30529d629 Add experimental cmake support 2014-03-02 01:52:41 +09:00
Yuichi Nishiwaki 366b6fd7f5 remove include guard written in config.h. 2014-03-01 22:15:14 +09:00
Yuichi Nishiwaki 0cbc9e6c92 refactor config.h. you can predefine config macros via -Dmacro flag in
compile line
2014-03-01 22:13:47 +09:00
Yuichi Nishiwaki 38ba53593b update readme 2014-03-01 21:35:43 +09:00
Yuichi Nishiwaki 3b8868c577 typedef pic_value pic_list 2014-03-01 20:54:02 +09:00
Yuichi Nishiwaki c357a9302d remove pic_list, and add pic_listn 2014-03-01 20:46:08 +09:00
Yuichi Nishiwaki ac09af95ce Merge branch 'read'. close #21 2014-03-01 20:29:48 +09:00
Yuichi Nishiwaki c215a8059c update readme 2014-03-01 20:27:30 +09:00
Yuichi Nishiwaki dfb6eeb72d cleanup 2014-03-01 20:25:58 +09:00
Yuichi Nishiwaki 6e7567a598 my own read impl. 2014-03-01 20:21:44 +09:00
Yuichi Nishiwaki 6cf6c72f84 change default library in repl 2014-03-01 19:55:52 +09:00
Yuichi Nishiwaki 6ddaa0eda0 use pic_deflibrary in init.c 2014-03-01 19:54:29 +09:00
Yuichi Nishiwaki 95dc14bac2 use yyfree/yyalloc during bytevector lex 2014-03-01 13:24:43 +09:00
Yuichi Nishiwaki 491fd81c97 add an alias 'yylval' linked to '*yylvalp' 2014-03-01 00:35:16 +09:00
Yuichi Nishiwaki cbad58f560 remove useless includes 2014-03-01 00:24:23 +09:00
Yuichi Nishiwaki 3bedc65d2b use yyrealloc 2014-03-01 00:20:19 +09:00
Yuichi Nishiwaki a51dc51a09 use volatile string 2014-03-01 00:19:57 +09:00
Yuichi Nishiwaki 0b8c7a8ccb add pic_intern 2014-03-01 00:13:11 +09:00
Yuichi Nishiwaki 81f839ea04 use yyget_extra function 2014-03-01 00:02:46 +09:00
Yuichi Nishiwaki 222c3bdcaa use noyywrap option 2014-02-28 23:59:50 +09:00
Yuichi Nishiwaki 513727f94c emit additional scanner header file 2014-02-28 22:38:12 +09:00
Yuichi Nishiwaki e781a063f8 scan.l cleanup 2014-02-28 22:35:38 +09:00
Yuichi Nishiwaki 22dd97fd44 update readme 2014-02-28 22:13:21 +09:00
Yuichi Nishiwaki 12cef7f95a revise readme 2014-02-27 22:25:20 +09:00
Yuichi Nishiwaki 9a8569ff87 On some environments stdint.h seems not be included implicitly... 2014-02-27 22:17:18 +09:00
Yuichi Nishiwaki 1f858f05e3 avoid implicit int -> size_t cast 2014-02-27 22:14:21 +09:00
Yuichi Nishiwaki 7a1c04f1fa [bugfix] old proc#cfunc_p property remained in debug block 2014-02-27 22:00:48 +09:00
Yuichi Nishiwaki 8586dc9057 xrope is now the internal representation of pic_str 2014-02-27 21:54:37 +09:00
Yuichi Nishiwaki 8e511bc410 remove dependencies on pic_state from pic_strlen and pic_strcmp 2014-02-27 19:42:59 +09:00
Yuichi Nishiwaki d427e06831 update xrope 2014-02-27 19:41:47 +09:00
Yuichi Nishiwaki 62670addb5 add xrope 2014-02-27 19:18:19 +09:00
Yuichi Nishiwaki 878370c29a gurantee allocators return NULL given size is zero 2014-02-27 13:55:19 +09:00
Yuichi Nishiwaki 06a7b0f5f6 add pic_func struct to hold native function name 2014-02-26 00:39:16 +09:00
Yuichi Nishiwaki bb93a8be14 catch up to XFILE changes 2014-02-25 21:07:32 +09:00
Yuichi Nishiwaki c2ed86751b update xhash 2014-02-25 21:04:47 +09:00
Yuichi Nishiwaki 5f427374d3 update xhash 2014-02-24 16:07:13 +09:00
Yuichi Nishiwaki 9a73ba707c add pic_strcmp 2014-02-23 17:45:34 +09:00
Yuichi Nishiwaki 0fa61b6a4a change pic_get_args API. 'z' now returns a pointer to null terminated
cstr, 's' a pointer to pic_str
2014-02-23 11:52:15 +09:00
Yuichi Nishiwaki 9f240c191c add pic_str_new_fill 2014-02-23 11:25:39 +09:00
Yuichi Nishiwaki 349d7f1799 don't take int arguments with size_t 2014-02-23 10:51:21 +09:00
Yuichi Nishiwaki 067a4756ff fix #58 2014-02-23 09:16:29 +09:00
Yuichi Nishiwaki 7ac4cd9ded add 'pic_' prefix to heap manipulte functions 2014-02-22 16:54:12 +09:00
Yuichi Nishiwaki 5175f0bb8d change gc heap API and hide sturctures. 2014-02-22 15:53:59 +09:00
Yuichi Nishiwaki 6c065e92c0 add type alias for pic_blob 2014-02-22 15:22:02 +09:00
Yuichi Nishiwaki 56f5f4a1f5 move sturct definitions for basic types to type-specific headers respectively 2014-02-22 15:21:55 +09:00
Yuichi Nishiwaki a8aa6b2c5e add some string utility functions 2014-02-21 18:24:20 +09:00
Yuichi Nishiwaki 131440b1d0 s/struct pic_string/pic_str/g 2014-02-21 18:05:59 +09:00
Yuichi Nishiwaki ca4276afc7 add type aliases for some important types 2014-02-21 17:36:05 +09:00