Commit Graph

456 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 4087ebb4d6 add pic_eof_p 2014-06-25 15:39:45 +09:00
Yuichi Nishiwaki 0e66144a4d add pic_open_input_string 2014-06-25 15:39:40 +09:00
Yuichi Nishiwaki 83a13d4ca4 remove flex dependency 2014-06-25 15:39:30 +09:00
Yuichi Nishiwaki da4a4fd449 api changes of reader/parser 2014-06-25 15:39:04 +09:00
Yuichi Nishiwaki 0b087b785e store rlabels in global state 2014-06-25 15:37:24 +09:00
Yuichi Nishiwaki 9aa85c4eb2 __builtin_unreachable appeared in gcc 4.5.0 2014-06-16 01:44:38 +09:00
Yuichi Nishiwaki da553b9001 primary symbol to object hashtable support (dictionary) 2014-06-14 22:17:57 +09:00
Yuichi Nishiwaki 2f75715c84 fix #123. add another build option 'USE_C11_FEATURE' 2014-05-30 10:34:44 +09:00
Yuichi Nishiwaki 2155a0c8f1 declare arena_idx as a size_t 2014-05-26 16:06:41 +09:00
Yuichi Nishiwaki a003b42435 dynamically allocate GC arena 2014-05-26 15:51:18 +09:00
Yuichi Nishiwaki f5a4047e28 unwind picrin VM registers when pic_pop_try is called 2014-04-06 14:02:50 +09:00
Yuichi Nishiwaki 5893dd5b5c save stacktrace in error objects 2014-04-06 14:02:21 +09:00
Yuichi Nishiwaki 920524dc40 add pic_print_backtrace function 2014-04-06 14:00:45 +09:00
Yuichi Nishiwaki 8434629586 move config.h to under picrin/ 2014-04-06 12:44:11 +09:00
Yuichi Nishiwaki 74b44f4d84 add pic_load_cstr 2014-04-06 02:43:49 +09:00
Yuichi Nishiwaki 8750b9b4dd add pic_define_syntactic_keyword 2014-04-05 04:01:42 +09:00
Yuichi Nishiwaki 708f348674 s/pic_null_syntactic_env/pic_null_syntactic_environment/g 2014-04-05 03:50:38 +09:00
Yuichi Nishiwaki b9125caa3d remove pic_(minimal|core)_syntactic_env 2014-04-05 03:49:20 +09:00
Yuichi Nishiwaki a94938c2f8 cleanup 2014-04-04 16:34:06 +09:00
Yuichi Nishiwaki 1e5c6d899e s/pic_sc/pic_sc_ptr/g. s/pic_senv/pic_senv_ptr/g. 2014-04-04 13:07:16 +09:00
Yuichi Nishiwaki e32e42c5f9 support datum label reader 2014-04-01 11:40:20 +09:00
Yuichi Nishiwaki 2643cb0e3c add SWAP macro 2014-04-01 11:39:35 +09:00
Yuichi Nishiwaki 2151640331 add native box API 2014-03-31 21:50:08 +09:00
Yuichi Nishiwaki 3e8d64fdb7 initial regexp support 2014-03-31 20:43:36 +09:00
Yuichi Nishiwaki ed0146e7a9 add pic_data_type_p 2014-03-31 08:26:55 +09:00
Yuichi Nishiwaki 6d80ee8b96 add pic_assert_type 2014-03-31 08:26:33 +09:00
Yuichi Nishiwaki d91ae885b6 add fixed-arity pic_values function 2014-03-31 08:13:06 +09:00
Yuichi Nishiwaki c3b737037a refactor native_stack_length 2014-03-30 14:45:24 +09:00
Yuichi Nishiwaki d8c182bc69 add user-defined data type API 2014-03-29 20:42:06 +09:00
Yuichi Nishiwaki 38c4e7e6de implemented simple backtrace 2014-03-29 20:02:11 +09:00
Yuichi Nishiwaki cf1e1a8746 add pic_proc_name 2014-03-28 12:34:54 +09:00
Yuichi Nishiwaki 24d6540d56 record procedure name in irep 2014-03-28 12:26:07 +09:00
Yuichi Nishiwaki b7d8a2c724 record cfunc procedure names 2014-03-28 12:18:32 +09:00
Yuichi Nishiwaki cea7b73840 add pic_list7 2014-03-28 12:11:59 +09:00
Yuichi Nishiwaki 9742689c40 Revert "reserve the 0 symbol for system use"
This reverts commit 816343bd31.

Conflicts:
	include/picrin/value.h
	src/state.c
2014-03-27 16:23:22 +09:00
Yuichi Nishiwaki c10f40acd4 change pic_find_rename API 2014-03-27 16:19:55 +09:00
Yuichi Nishiwaki 8b17e70a43 fix copyright years 2014-03-27 06:53:21 +09:00
Yuichi Nishiwaki 6ea78fbf27 delete pic_apply_argv 2014-03-25 21:04:30 +09:00
Yuichi Nishiwaki e51f0d6dc3 add arity-fixed apply functions 2014-03-25 20:54:57 +09:00
Yuichi Nishiwaki ca42b44921 update xhash uses 2014-03-25 15:29:26 +09:00
Yuichi Nishiwaki c3240b9133 add pic_warnf 2014-03-25 14:31:24 +09:00
Yuichi Nishiwaki 88a7d1f2b9 s/senv->name/senv->renames/g 2014-03-25 14:21:23 +09:00
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