Commit Graph

414 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 52803aa825 pic_sym is now an alias to unsigned int 2014-03-25 14:13:38 +09:00
Yuichi Nishiwaki b757368748 add renamer APIs 2014-03-25 14:12:53 +09:00
Yuichi Nishiwaki 816343bd31 reserve the 0 symbol for system use 2014-03-25 13:37:20 +09:00
Yuichi Nishiwaki fe56195988 add pic_valid_int predicate 2014-03-25 12:24:53 +09:00
Yuichi Nishiwaki af80ba6b36 pic_gc_protect now returns a value 2014-03-24 15:14:54 +09:00
Yuichi Nishiwaki 1821039e78 pic->rescue is no longer used 2014-03-24 15:00:55 +09:00
Yuichi Nishiwaki 0fcd1a3e10 inline pic_error definition 2014-03-24 14:57:10 +09:00
Yuichi Nishiwaki bb7e35ca0e pic_raise is equivalent to pic_throw. remove it. 2014-03-24 14:55:41 +09:00
Yuichi Nishiwaki 4d56ebf634 drop support for raise-continuable for a moment 2014-03-24 14:52:52 +09:00
Yuichi Nishiwaki 042bd30415 add notation about pic_try usage 2014-03-24 14:51:41 +09:00
Yuichi Nishiwaki daa7513be5 add pic_throw function 2014-03-24 14:09:28 +09:00
Yuichi Nishiwaki 3d465f21dc now you can 'throw' exceptions from catch clause 2014-03-24 13:24:37 +09:00
Yuichi Nishiwaki 4a2cb90095 move pic_try/pic_catch macros to error.h 2014-03-24 12:30:21 +09:00
Yuichi Nishiwaki d5d721f9dd pic_vtype should not evaluate the argument twice 2014-03-24 10:55:03 +09:00
Yuichi Nishiwaki 222e3618ee use uint**_t for nan-boxing 2014-03-24 10:49:20 +09:00
Yuichi Nishiwaki 12728df36f perform tear-off operation lazily 2014-03-23 13:09:35 +09:00
Yuichi Nishiwaki 93414fac52 s/env.values/env.regs/g 2014-03-23 12:45:36 +09:00
Yuichi Nishiwaki cac31845d0 cv_tbl is no longer used 2014-03-23 12:10:34 +09:00
Yuichi Nishiwaki c9eb612561 do variable closing operation not in OP_CALL but in OP_RET 2014-03-23 12:10:34 +09:00
Yuichi Nishiwaki 12852b0628 s/cv_num/capturec/g 2014-03-22 19:13:07 +09:00
Yuichi Nishiwaki 9a3ff987af define pic_push/pic_pop macro in pair.h 2014-03-21 12:36:46 +09:00
Yuichi Nishiwaki cfde253f26 split xvect module 2014-03-20 23:09:45 +09:00
Yuichi Nishiwaki bc602aa767 pic_state is not used in pic_dump_* 2014-03-19 19:44:45 +09:00
Yuichi Nishiwaki e80c3cc60b move irep dump function definitions to irep.h 2014-03-19 19:41:24 +09:00
Yuichi Nishiwaki e9d5fb3ab5 remove redundant prefixes 2014-03-19 17:55:52 +09:00
Yuichi Nishiwaki a20356952b refactor GENSYM macro 2014-03-19 17:52:54 +09:00
Yuichi Nishiwaki 0b7597b80b reafactor noreturn macro 2014-03-19 17:45:35 +09:00
Yuichi Nishiwaki 8625f75470 move utility macros to picrin/util.h 2014-03-19 17:43:53 +09:00
Yuichi Nishiwaki ef7d01971b publish UNREACHABLE macro 2014-03-19 17:40:31 +09:00
Yuichi Nishiwaki acfa79bc62 s/NORETURN/noreturn/g 2014-03-19 17:37:06 +09:00
Yuichi Nishiwaki 8598042deb pic_list_p don't need to take pic_state *. 2014-03-16 23:12:07 +09:00
Yuichi Nishiwaki 495be09d8a [bugfix] could not explicitly disable readline on some environment where libreadline
is installed
2014-03-15 21:22:53 +09:00
Yuichi Nishiwaki 68ea22f6eb add pic_blk_exit 2014-03-10 01:51:27 +09:00
Yuichi Nishiwaki d227c22379 change native_stack marker type to char * 2014-03-10 01:11:01 +09:00
Yuichi Nishiwaki 920674a6ef typedef struct pic_block pic_block 2014-03-07 22:09:12 +09:00
Yuichi Nishiwaki 751d0f87f8 typedef struct pic_code pic_code 2014-03-07 22:06:43 +09:00
Yuichi Nishiwaki f0367d95a0 cleanup 2014-03-04 23:58:07 +09:00
Yuichi Nishiwaki f776907550 pic_error is obsoleted 2014-03-04 00:44:13 +09:00
Yuichi Nishiwaki 4bf2262605 pic_alloc is the right name, not pic_malloc 2014-03-04 00:30:11 +09:00
Yuichi Nishiwaki d8d34353aa cleanup 2014-03-04 00:29:00 +09:00
Yuichi Nishiwaki 8f5c053bd8 add display function API 2014-03-04 00:28:39 +09:00
Yuichi Nishiwaki 5b2898ae5c rename read functions which return a list of multiple expressions to 'parse' 2014-03-04 00:26:33 +09:00
Yuichi Nishiwaki a9d3d847af add pic_printf 2014-03-03 22:43:59 +09:00
Yuichi Nishiwaki 408255381c add pic_eval 2014-03-03 22:39:38 +09:00
Yuichi Nishiwaki 464925d220 refactor pic_for_each 2014-03-03 22:21:34 +09:00
Yuichi Nishiwaki 34bcabf5bc s/pic_trampoline/pic_apply_trampoline/g 2014-03-03 22:19:27 +09:00
Yuichi Nishiwaki 69ac02f836 add pic_try/pic_catch macros 2014-03-02 22:36:32 +09:00
Yuichi Nishiwaki 887b6a9f91 refactor pic_deflib 2014-03-02 22:23:57 +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