Commit Graph

1445 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 0b58624864 no need to handle set!/if/begin syntaces at macroexpansion stage 2014-03-29 09:00:37 +09:00
Yuichi Nishiwaki c5d9972d2e macro transformer should never return macro objects 2014-03-29 08:57:15 +09:00
Yuichi Nishiwaki 464ecdd452 call symbol_rename as much as possible 2014-03-29 08:53:24 +09:00
Yuichi Nishiwaki dec4ddc125 Merge branch 'record-procedure-name' 2014-03-28 12:35:09 +09:00
Yuichi Nishiwaki cf1e1a8746 add pic_proc_name 2014-03-28 12:34:54 +09:00
Yuichi Nishiwaki a304feaa28 show irep names in debug print 2014-03-28 12:29:00 +09:00
Yuichi Nishiwaki 24d6540d56 record procedure name in irep 2014-03-28 12:26:07 +09:00
Yuichi Nishiwaki aeaf33ff47 print cfunction name in debug print 2014-03-28 12:18:32 +09:00
Yuichi Nishiwaki b7d8a2c724 record cfunc procedure names 2014-03-28 12:18:32 +09:00
Yuichi Nishiwaki fbbbf7b019 cleanup 2014-03-28 12:18:24 +09:00
Yuichi Nishiwaki cea7b73840 add pic_list7 2014-03-28 12:11:59 +09:00
Yuichi Nishiwaki 0ca0ec1682 Merge branch 'refactor-analyzer' 2014-03-28 12:10:30 +09:00
Yuichi Nishiwaki 010ee9ddb6 get rid of redundant symbol to value cast 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki c86c153e53 when procedual-define is analyzed, don't create a lambda expression
inside, call analyze_procedure directly instead.
2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki 3215ba2677 cleanup. move analyze_lambda 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki e47bd63762 [refactor] add analyze_declare 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki e2741f8580 [refactor] analyze_define 2014-03-28 12:10:09 +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 4cd217937f if rest argument value is captured, copy it to capture area. close #78. 2014-03-26 21:02:43 +09:00
Yuichi Nishiwaki 46ac5faa97 git cmake module is required 2014-03-26 14:08:55 +09:00
Yuichi Nishiwaki 2d25594592 fix #81. 2014-03-26 14:08:39 +09:00
Yuichi Nishiwaki 4ce7ce7ef3 add copyright notice to findreadline.cmake 2014-03-26 11:11:59 +09:00
Yuichi Nishiwaki 7b440ed47c mark some cmake variables as advanced 2014-03-26 11:11:37 +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 4b13848cbc separate macroexpansion and arena management 2014-03-25 15:42:20 +09:00
Yuichi Nishiwaki 3d1aaf8ec3 Merge branch 'update-xhash' 2014-03-25 15:30:16 +09:00
Yuichi Nishiwaki ca42b44921 update xhash uses 2014-03-25 15:29:26 +09:00
Yuichi Nishiwaki 7bac84afec update xhash 2014-03-25 15:29:09 +09:00
Yuichi Nishiwaki 794c87b870 resolve redefinition warnings 2014-03-25 14:39:44 +09:00
Yuichi Nishiwaki a7ff80090b delete trailing whitespaces in 1.scm 2014-03-25 14:32:56 +09:00
Yuichi Nishiwaki 594742f845 refine variabe redefinitino error message 2014-03-25 14:31:32 +09:00
Yuichi Nishiwaki c3240b9133 add pic_warnf 2014-03-25 14:31:24 +09:00
Yuichi Nishiwaki 8d63fffe87 don't create duplicate slots 2014-03-25 14:25:48 +09:00
Yuichi Nishiwaki 88a7d1f2b9 s/senv->name/senv->renames/g 2014-03-25 14:21:23 +09:00
Yuichi Nishiwaki 56840b326e Merge branch 'refactor-renamer' 2014-03-25 14:20:18 +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 514937662e renamed symbols must be always greater than or equal to 0 2014-03-25 13:26:42 +09:00
Yuichi Nishiwaki e74f700c51 Merge branch 'lcm-overflow' 2014-03-25 12:27:12 +09:00
Yuichi Nishiwaki abefda9ee9 avoid lcm overflow 2014-03-25 12:25:08 +09:00
Yuichi Nishiwaki fe56195988 add pic_valid_int predicate 2014-03-25 12:24:53 +09:00
Yuichi Nishiwaki b95184431f Merge branch 'refactor-error' 2014-03-24 16:06:13 +09:00
Yuichi Nishiwaki bccfc1f08d throw error when macro definition evaluates to non-procedure object 2014-03-24 15:30:44 +09:00
Yuichi Nishiwaki b61da9bc47 use UNREACHABLE macro 2014-03-24 15:30:32 +09:00
Yuichi Nishiwaki b29832d2c5 refactor macroexpand 2014-03-24 15:27:03 +09:00
Yuichi Nishiwaki 9dcdc45ab6 cleanup 2014-03-24 15:15:08 +09:00