Commit Graph

56 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 25f80dc87d don't cons in call-with-values 2015-07-04 18:01:30 +09:00
Yuichi Nishiwaki 73b7d577d7 Revert "remove dead code"
This reverts commit 004e3eda48.
2015-07-04 17:24:53 +09:00
Yuichi Nishiwaki 07bb4a0f6b cache irep 2015-07-04 14:31:06 +09:00
Yuichi Nishiwaki 1c538a13f1 OP_RET's operand is no longer used 2015-07-04 14:04:16 +09:00
Yuichi Nishiwaki 18df88d457 optimize vm_get_irep 2015-07-04 14:04:16 +09:00
Yuichi Nishiwaki 004e3eda48 remove dead code 2015-07-04 14:04:16 +09:00
Yuichi Nishiwaki 10522b54e9 add pic_add, pic_sub, ..., pic_eq, pic_lt, ... 2015-07-04 14:04:16 +09:00
Yuichi Nishiwaki b01042505f remove OP_MINUS 2015-07-04 14:04:16 +09:00
Yuichi Nishiwaki a6dbf0067b cosmetic changes 2015-07-04 14:04:16 +09:00
Yuichi Nishiwaki 65ade266d1 remove pic_defun_vm 2015-07-02 06:17:27 +09:00
Yuichi Nishiwaki c9245bbe84 optimize vm set operators 2015-07-02 05:59:54 +09:00
Yuichi Nishiwaki 0a0c94fb91 perform tail position analysis on the fly at codegen 2015-07-02 04:23:07 +09:00
Yuichi Nishiwaki ddcf96f689 remove pic_proc_name (for a moment) 2015-06-27 19:02:18 +09:00
Yuichi Nishiwaki 4d18610a79 refine error messages 2015-06-27 17:50:03 +09:00
Yuichi Nishiwaki bcf53b9883 reimplement core syntaxes in scheme 2015-06-27 17:43:42 +09:00
Yuichi Nishiwaki f5789c7c6f added c functions to define private varaibles. see discussion on #271 2015-06-24 02:02:26 +09:00
Yuichi Nishiwaki 32653df178 cleanup 2015-06-19 21:21:04 +09:00
Yuichi Nishiwaki b4c3e2cc4f small refactoring. use DEFINE_STANDARD_PORT_ACCESSOR macro to define pic_stdxx 2015-06-18 23:15:09 +09:00
Yuichi Nishiwaki cf66d600bb move macroexpander to codegen.c 2015-06-16 21:01:46 +09:00
Yuichi Nishiwaki 3a59a95960 [WIP] replace macro expander
remove define-syntax, add define-macro instead

saner display when writing identifiers
2015-06-15 02:48:31 +09:00
Yuichi Nishiwaki 98857c0726 change pic_find_rename interface 2015-06-09 22:26:21 +09:00
Yuichi Nishiwaki 6af9a3ee7d remove pic_warn 2015-06-09 22:13:46 +09:00
Yuichi Nishiwaki 30cbdd5c4f cleanup macro.h 2015-06-09 20:20:56 +09:00
Yuichi Nishiwaki 6af60c9e2b don't use static non-const local variable 2015-06-09 19:19:27 +09:00
Yuichi Nishiwaki 5185a73cd2 replace none with undef 2015-06-09 16:34:45 +09:00
Yuichi Nishiwaki 531187bb2a speed up bytecode compilation 2015-06-04 13:53:41 +09:00
Yuichi Nishiwaki 8f891c00c6 fix build 2015-06-02 07:20:47 +09:00
Yuichi Nishiwaki ce0c737c95 cleanup 2015-06-02 06:53:16 +09:00
Yuichi Nishiwaki 88092044d7 shrink pic_proc size 2015-06-02 06:53:16 +09:00
Yuichi Nishiwaki d0e10b49a7 pic_env -> pic_context 2015-05-30 22:34:51 +09:00
Yuichi Nishiwaki 334ceb9e7c fix bugs unveiled by the previous commit 2015-05-30 19:57:32 +09:00
Yuichi Nishiwaki 9b7eb2f996 unify all headers into picrin.h 2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki 304664eaf0 add libc fallback 2015-05-28 01:55:55 +09:00
Yuichi Nishiwaki 7dcd050e1a add PIC_ENABLE_FLOAT and PIC_WORD_BOXING 2015-05-28 01:48:38 +09:00
Yuichi Nishiwaki 4bdb17db2f style fix 2015-05-28 01:06:44 +09:00
Yuichi Nishiwaki 15449354c6 switch string implementation to picrin's 2015-05-27 23:34:40 +09:00
Sunrin SHIMURA (keen) 06a2b09e69 display proc name in error message raised from `pic_get_args` 2015-02-04 13:46:29 +00:00
Sunrin SHIMURA (keen) 65967f2e05 fix a bug 2015-02-03 17:19:17 +00:00
Sunrin SHIMURA (keen) 1700610729 rewrite to be clean 2015-02-03 16:57:39 +00:00
Sunrin SHIMURA (keen) 9571030f7e Merge branch 'master' into better-error-message2
Conflicts:
	extlib/benz/vm.c
2015-02-02 18:32:20 +00:00
Sunrin SHIMURA (keen) e2f10ba3ad rewrite pic_get_args to check nparams first 2015-02-02 18:30:14 +00:00
Yuichi Nishiwaki 154d987294 don't use C99's designated initializer 2015-01-28 00:46:51 +09:00
Yuichi Nishiwaki 6af010f26d SIZE_MAX is not defined in ISO C89 2015-01-28 00:40:39 +09:00
Sunrin SHIMURA (keen) 40dc4a0e9c Merge branch 'better-error-message2' of github.com:picrin-scheme/picrin into better-error-message2 2015-01-27 09:44:06 +00:00
Yuichi Nishiwaki de294b0784 dont use loop initial declaration 2015-01-26 23:55:28 +09:00
Yuichi Nishiwaki b2a539fb69 update error message 2015-01-26 15:25:40 +09:00
Yuichi Nishiwaki e3833eb039 change pic_for_each interface 2015-01-25 20:44:35 +09:00
Yuichi Nishiwaki 6e6e1de7a5 pic_sym is not a pointer 2015-01-20 16:02:28 +09:00
Yuichi Nishiwaki 2d1ddb9a5a s/pic_sym/pic_sym_ptr/g 2015-01-20 15:31:17 +09:00
Yuichi Nishiwaki ffa27e4b11 s/SYMBOL_P/SYMBOLP/g, s/PAIR_P/PAIRP/g 2015-01-19 14:37:46 +09:00