Commit Graph

374 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 8ba4c0305d bugfix 2015-07-04 16:07:21 +09:00
Yuichi Nishiwaki 046fa0adad fix build 2015-07-04 15:30:02 +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 e812e8fb3d fix #282.
by following @keens' advice
2015-07-03 03:57:33 +09:00
Yuichi Nishiwaki 6e49d91e9f export core syntaxes 2015-07-03 03:16:47 +09:00
Yuichi Nishiwaki 4905aab416 remove pic->file and pic->read 2015-07-02 08:50:28 +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 f9df81f046 remove unused symbols 2015-07-02 05:36:09 +09:00
Yuichi Nishiwaki f622ba3db4 refactor codegen_call 2015-07-02 05:26:05 +09:00
Yuichi Nishiwaki 28b180ac3f split codegen function 2015-07-02 05:07:16 +09:00
Yuichi Nishiwaki 43f385760d simplify management of deferred forms 2015-07-02 04:36:21 +09:00
Yuichi Nishiwaki 0a0c94fb91 perform tail position analysis on the fly at codegen 2015-07-02 04:23:07 +09:00
Yuichi Nishiwaki 9c908b2622 cosmetic changes 2015-07-02 03:33:25 +09:00
OGINO Masanori 04dc5c3176 Add `ieee-float` feature iff PIC_ENABLE_FLOAT.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-30 10:06:11 +09:00
Yuichi Nishiwaki 6d2966e946 don't cons in pic_valuesN 2015-06-30 01:19:04 +09:00
Yuichi Nishiwaki f6a727beb4 cleanup pic_read 2015-06-30 01:17:13 +09:00
Yuichi Nishiwaki 5138ab4a8c save arena 2015-06-30 01:17:13 +09:00
Yuichi Nishiwaki d097a021e3 optimize begin emitter 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki f4b54c85ea invoke pic_panic when evalating pic_boot failed 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki e5f7eda432 more arena freeing during compilation 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki bda1b93ec2 [bugfix][critical] heap pollution while symbol allocation 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki 849032ef1a cosmetic changes 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki 1595be099b define emit_x functions as macros 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki 62dbdb79dd cleanup 2015-06-30 01:13:54 +09:00
Yuichi Nishiwaki 428e006098 add symbol macro 2015-06-29 18:26:12 +09:00
Yuichi Nishiwaki 3428803bdb less consing 2015-06-27 19:19:43 +09:00
Yuichi Nishiwaki 885942b541 more cleanup 2015-06-27 19:10:15 +09:00
Yuichi Nishiwaki ddcf96f689 remove pic_proc_name (for a moment) 2015-06-27 19:02:18 +09:00
Yuichi Nishiwaki 36c498e7d7 cleanup analyzer 2015-06-27 18:48:21 +09:00
Yuichi Nishiwaki 5633bbefae don't enclose load_cstr with try-catch 2015-06-27 18:38:16 +09:00
Yuichi Nishiwaki f98a5ab14d cleanup 2015-06-27 18:23:08 +09:00
Yuichi Nishiwaki 1bed1bd420 remove unnecessary error checks 2015-06-27 18:08:57 +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 8c6496ef24 remvoe dead code 2015-06-27 16:44:05 +09:00
Yuichi Nishiwaki ac094a9477 cosmetic changes 2015-06-27 16:33:31 +09:00
Yuichi Nishiwaki df645b68ae more optimization 2015-06-27 15:59:22 +09:00
Yuichi Nishiwaki 03792f85de fast compile 2015-06-27 15:30:17 +09:00
Yuichi Nishiwaki 4a8e59e04b don't run malloc while anazlyze/codegen 2015-06-27 14:23:31 +09:00
Yuichi Nishiwaki 8b550de06a [bugfix] port leaks 2015-06-26 23:45:56 +09:00
Yuichi Nishiwaki 8e90517224 [bugfix] port should be closed properly 2015-06-26 23:06:52 +09:00
Yuichi Nishiwaki d8e00f5725 don't malloc duplicated cstring 2015-06-26 02:32:59 +09:00
Yuichi Nishiwaki 33dfe2b5cc change pic_open interface 2015-06-26 02:13:48 +09:00