Commit Graph

2301 Commits

Author SHA1 Message Date
Yuichi Nishiwaki c0b83759a8 re-implement ir-macro-transformer in scheme 2014-07-17 13:40:45 +09:00
Yuichi Nishiwaki 2e35f03f35 remove type check guards in compare function 2014-07-17 13:40:18 +09:00
Yuichi Nishiwaki 5e8c4af84b fix bugs introduced in prev commit 2014-07-17 13:39:28 +09:00
Yuichi Nishiwaki cf509a4922 [bugfix] move define-auxiliary-syntax to the beginning. This made
mac-env and use-env of cond expression different
2014-07-17 11:32:52 +09:00
Yuichi Nishiwaki 73a6eaf9da rewrite er-macro-transformer in scheme 2014-07-17 11:32:41 +09:00
Yuichi Nishiwaki 5d9242f5b5 rewrite make-syntactic-closure in scheme 2014-07-17 11:32:30 +09:00
Yuichi Nishiwaki 378b5bb6a8 dictionary-has? was missing 2014-07-17 11:30:58 +09:00
Yuichi Nishiwaki b68813823f improve pic_get_args error message 2014-07-17 11:30:44 +09:00
Yuichi Nishiwaki 9e7b4da56c add make-identifier function 2014-07-17 10:21:00 +09:00
Yuichi Nishiwaki 2b16aaded2 s/translate/make_identifier/g 2014-07-17 10:16:17 +09:00
Yuichi Nishiwaki a8751ab3ba fix docs 2014-07-16 20:52:42 +09:00
Yuichi Nishiwaki cf4404d739 Merge branch 'pretty-print' 2014-07-16 20:46:24 +09:00
Yuichi Nishiwaki a727c913a3 update docs 2014-07-16 20:46:00 +09:00
Yuichi Nishiwaki ed01546f8e add (picrin pretty-print) 2014-07-16 20:42:12 +09:00
Yuichi Nishiwaki 40897e6351 support character literal 2014-07-16 16:12:25 +09:00
Yuichi Nishiwaki 9fd56ad851 Merge branch 'letrec-syntax' 2014-07-16 14:47:54 +09:00
Yuichi Nishiwaki bdcb83296e update case-lambda impl 2014-07-16 14:47:36 +09:00
Yuichi Nishiwaki 6ee4d49a96 Macro-generating macro may rename symbol that will be used as a newly
introduced identifier
2014-07-16 14:46:30 +09:00
Yuichi Nishiwaki 8e114fae6b unlock letrec-syntax test 2014-07-16 14:32:04 +09:00
Yuichi Nishiwaki b86d010b76 add letrec-syntax 2014-07-16 14:30:45 +09:00
Yuichi Nishiwaki b1962ef61b Merge branch 'array' 2014-07-15 23:55:56 +09:00
Yuichi Nishiwaki 033b26d1e8 update docs 2014-07-15 23:54:50 +09:00
Yuichi Nishiwaki fa0cde8d77 publish call-with-{in,out}put-file 2014-07-15 23:09:20 +09:00
Yuichi Nishiwaki 632529c9a5 add array-map and array-for-each 2014-07-15 22:45:04 +09:00
Yuichi Nishiwaki 318475c14b optional argument for make-array 2014-07-15 22:27:48 +09:00
Yuichi Nishiwaki 4f5a92d921 rename array type; avoid variable conflict 2014-07-15 22:20:45 +09:00
Yuichi Nishiwaki d358c8873d add array<->list converters 2014-07-15 22:20:32 +09:00
Yuichi Nishiwaki 2da5d440a8 more array functions 2014-07-15 21:26:08 +09:00
Yuichi Nishiwaki 443bd6e830 initial array support 2014-07-15 20:59:29 +09:00
Yuichi Nishiwaki f02bac1d88 register function name to lambdas like (define foo (lambda ...)) 2014-07-15 20:57:35 +09:00
Yuichi Nishiwaki 6dd6b0bc07 update docs 2014-07-15 18:33:45 +09:00
Yuichi Nishiwaki 64d757d46a r7rs-test: print all failed tests in the end 2014-07-15 18:04:53 +09:00
Yuichi Nishiwaki d85801e396 rational number literal reads exact integer if possible 2014-07-15 17:58:46 +09:00
Yuichi Nishiwaki 6c68955dee unlock tests about rational number literals 2014-07-15 17:58:26 +09:00
Yuichi Nishiwaki 1d5fa803aa add case-lambda 2014-07-15 17:51:27 +09:00
Yuichi Nishiwaki bb427cf275 style fix 2014-07-15 13:42:19 +09:00
Yuichi Nishiwaki 729162b69f unlock let-synatx test 2014-07-14 10:09:23 +09:00
Yuichi Nishiwaki 5faa7cd46d leave core syntax keywords renamed 2014-07-14 10:08:11 +09:00
Yuichi Nishiwaki fda89b1604 [bugfix] broken hygiene of cond expression 2014-07-13 22:51:22 +09:00
Yuichi Nishiwaki 53b82aa670 Merge branch 'let-syntax2' 2014-07-13 22:37:58 +09:00
Yuichi Nishiwaki 6c45bb3c5d support let-syntax 2014-07-13 22:36:30 +09:00
Yuichi Nishiwaki 730cfc8601 refactor macroexpand_lambda 2014-07-13 21:05:57 +09:00
Yuichi Nishiwaki 1989a972cb refactor macroexpand_define. make use of macroexpand_lambda function 2014-07-13 21:01:30 +09:00
Yuichi Nishiwaki e08ec23a9f s/formals/formal/g 2014-07-13 20:39:34 +09:00
Yuichi Nishiwaki 6cf4fe942a rewrite iteration with recursion. since we have variable-length arena
now, it is no longer required to avoid big arena consumption.
2014-07-13 20:32:26 +09:00
Yuichi Nishiwaki c57f8a5016 add pic_void macro 2014-07-13 20:20:04 +09:00
Yuichi Nishiwaki 631926aa96 function reorder 2014-07-13 20:19:45 +09:00
Yuichi Nishiwaki 6d20c0e3e0 cosmetic changes again 2014-07-13 20:09:42 +09:00
Yuichi Nishiwaki 601b54ba1f cosmetic changes 2014-07-13 20:06:08 +09:00
Yuichi Nishiwaki e1cba4b48e refactor translate to use pic_dict instead of boxes 2014-07-13 20:01:09 +09:00