Commit Graph

3190 Commits

Author SHA1 Message Date
Yuichi Nishiwaki c139bb0f08 simplify pic_default_alloc impl 2015-08-10 21:17:26 +09:00
Yuichi Nishiwaki c573f2c56e stateful allocator 2015-08-10 21:13:23 +09:00
Yuichi Nishiwaki 50dce97bac unify struct pic_object and union object 2015-08-05 10:59:52 +09:00
Yuichi Nishiwaki ceafb6b600 remove typedef of pic_list 2015-08-05 10:36:28 +09:00
Yuichi Nishiwaki fa8557823f remove unused filed in pic_irep 2015-08-05 10:32:01 +09:00
Yuichi Nishiwaki a479ec21ec argument marked unused is used 2015-08-05 09:59:30 +09:00
Yuichi Nishiwaki 98662215e1 use pic_reg to implement pic->macros 2015-08-05 09:42:17 +09:00
Yuichi Nishiwaki 5fa24f9767 global variable table may be weak 2015-08-05 09:36:32 +09:00
Yuichi Nishiwaki 673198bbb6 Merge branch 'box-global-variables' 2015-08-05 09:08:57 +09:00
Yuichi Nishiwaki a12be32f19 do not allocate symbols inside vm 2015-08-05 09:03:38 +09:00
Yuichi Nishiwaki 9d25be2e76 [bugfix] update prototype 2015-08-05 09:03:09 +09:00
Yuichi Nishiwaki 537e5b0eed use boxes for global variable cells 2015-08-05 08:52:28 +09:00
Yuichi Nishiwaki 987931bd0f add box.h 2015-08-05 08:52:28 +09:00
Yuichi Nishiwaki 261580309e clean up 2015-08-05 08:50:24 +09:00
Yuichi Nishiwaki 8767d57fbd cleanup vm 2015-07-30 02:55:37 +09:00
Yuichi Nishiwaki 71a56a6b75 Merge branch 'fast-callcc' 2015-07-30 02:52:26 +09:00
Yuichi Nishiwaki 1a71f3f578 move regs field from pic_state to pic_heap 2015-07-26 16:48:38 +09:00
Yuichi Nishiwaki eec7d1754b arena_idx is of size_t 2015-07-26 16:44:13 +09:00
Yuichi Nishiwaki 9365eb4c7f no relloc on restore_cont 2015-07-26 16:39:34 +09:00
Yuichi Nishiwaki da0c9d2594 cleanup 2015-07-23 17:10:53 +09:00
Yuichi Nishiwaki fae4e28396 shrink union header size 2015-07-23 17:10:53 +09:00
Yuichi Nishiwaki 470eaa485d [bugfix] wrong allocation size for pic_port 2015-07-23 17:10:53 +09:00
OGINO Masanori 8473b66cfa Merge pull request #301 from omasanori/alarm
Fix typo, alerm -> alarm.
2015-07-22 23:14:26 +09:00
OGINO Masanori 16b427b8c4 Fix typo, alerm -> alarm.
This commit also enables some tests to catch more regressions.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-22 23:06:46 +09:00
Yuichi Nishiwaki ab7ed0531c Merge branch 'simple-beta-reduction' 2015-07-22 16:14:27 +09:00
Yuichi Nishiwaki b056fadd3c Merge pull request #297 from picrin-scheme/bench
Add benchmark suite
2015-07-22 16:14:15 +09:00
Yuichi Nishiwaki ee9ee2f03e add inline expansion optimization 2015-07-22 16:09:41 +09:00
Yuichi Nishiwaki 5f9a6880e2 [bugfix] rest argument does not work with local definitions 2015-07-22 16:08:54 +09:00
Yuichi Nishiwaki a6aa479b61 refine pic_dump_irep format 2015-07-22 16:00:30 +09:00
Yuichi Nishiwaki 2848e2fe9e improve error message 2015-07-22 15:59:04 +09:00
OGINO Masanori 2ba5d6d439 Merge pull request #300 from omasanori/use-lset-eq
Use lset= to compare list sets.
2015-07-21 15:47:15 +09:00
OGINO Masanori 1018a7cce8 Use lset= to compare list sets.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-21 15:35:56 +09:00
OGINO Masanori 643d86c709 Merge pull request #299 from omasanori/extend-test
Extend test
2015-07-21 15:25:46 +09:00
OGINO Masanori c44e3edd57 Merge pull request #298 from omasanori/srfi-1-cons-star
Export cons* from SRFI 1.
2015-07-21 15:18:00 +09:00
OGINO Masanori f345832b44 Add an optional comparator argument to test.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-21 15:16:04 +09:00
OGINO Masanori 1455c7d4a5 Compare expected value and the result only once.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-21 15:12:43 +09:00
OGINO Masanori aa2e11874f Export cons* from SRFI 1.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-21 14:52:46 +09:00
Sunrim KIM (keen) 450ce4f0aa add copyright 2015-07-21 01:07:19 +09:00
Sunrim KIM (keen) 40e2c5eceb Merge branch 'master' into bench 2015-07-21 01:04:38 +09:00
Sunrim KIM (keen) 9c562fa6c5 Merge branch 'master' into bench 2015-07-21 01:00:10 +09:00
Yuichi Nishiwaki 24b4cafe65 fix srfi-26 2015-07-21 00:59:53 +09:00
Yuichi Nishiwaki a1d8af908b [bugfix] include macro broken 2015-07-21 00:57:59 +09:00
Sunrim KIM (keen) 895666b4be Merge branch 'master' into bench 2015-07-20 23:11:06 +09:00
Yuichi Nishiwaki bfdf60eee1 add (picrin logic) library 2015-07-20 22:10:39 +09:00
Yuichi Nishiwaki d11b569abf keep (picrin user) empty unless picrin is started in repl mode 2015-07-20 19:26:33 +09:00
Yuichi Nishiwaki 6b42145e00 support '%c' specifier in xfprintf 2015-07-20 19:02:52 +09:00
Yuichi Nishiwaki 569b14d684 cosmetic changes 2015-07-20 15:18:12 +09:00
Yuichi Nishiwaki 7db74c4b7a rewrite gc.c with union object 2015-07-20 15:02:16 +09:00
Yuichi Nishiwaki e6c35764dd TCO for gc_mark_object 2015-07-20 14:24:58 +09:00
Yuichi Nishiwaki 7dc26dd674 don't use PIC_VTYPE_FOO constants outside type.h 2015-07-20 14:07:24 +09:00