Commit Graph

3017 Commits

Author SHA1 Message Date
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 ea208be508 compile with NDEBUG=1 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
OGINO Masanori 029f4aa538 Merge pull request #289 from omasanori/travis-container
Use container-based infrastructure of Travis.
2015-07-03 08:38:32 +09:00
OGINO Masanori 04ae47a802 Use container-based infrastructure of Travis.
It's faster than standard (hypervisor-based) one, so we will benefit
from it, especially when we want larger build matrix.

I thought we can't use it since it restricts the use of ``sudo``.
However, Travis provides ``addon`` feature to install additional
packages from container-based infrastructure.

References:
http://docs.travis-ci.com/user/workers/container-based-infrastructure/
http://docs.travis-ci.com/user/apt/

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-03 08:32:53 +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
OGINO Masanori 111df69d1e Merge pull request #285 from omasanori/travis-cleanup
Remove redundancy packages from preparation.
2015-07-02 07:03:06 +09:00
OGINO Masanori 6586de85da Remove redundancy packages from preparation.
All we need is gcc-multilib.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-02 06:50:02 +09:00
OGINO Masanori e67029c87e Merge pull request #284 from omasanori/srfi-106-test
Get stats of SRFI 106's test.
2015-07-02 06:40:10 +09:00
OGINO Masanori 11e3d7741f Get stats of SRFI 106's test.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-02 06:26:42 +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 98005c4832 Merge branch 'refactor-analyzer4' 2015-07-02 05:55:03 +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 bda9a2f231 Merge pull request #283 from omasanori/test-282
Add regression tests for #282.
2015-07-01 16:00:45 +09:00
OGINO Masanori fef37c8366 Add regression tests for #282.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-01 15:56:57 +09:00
OGINO Masanori 214c18adcf Merge pull request #280 from omasanori/float
Add `ieee-float` feature iff PIC_ENABLE_FLOAT.
2015-06-30 10:31:35 +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 0762bd6567 update etc/tak.scm 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 c1478400cd Merge pull request #279 from omasanori/rename-inits
Rename initialize funtions of SRFIs to srfi_<n>.
2015-06-29 20:30:22 +09:00
OGINO Masanori 7685b84ad6 Rename initialize funtions of SRFIs to srfi_<n>.
To avoid conflictions of inits between SRFIs and others, inits in the
srfi nitro should be prefixed with srfi_. Without the convention, we may
need to use generic words such as string, vector, random, array, etc.

Moreover, there are SRFIs those subject is same (e.g. array may be used
by SRFI 25, 47, 58 and 63). Thus, we need a clear and conflict-free
naming convention.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-29 19:32:31 +09:00
Yuichi Nishiwaki 428e006098 add symbol macro 2015-06-29 18:26:12 +09:00
Yuichi Nishiwaki 3c08875eca Merge pull request #278 from omasanori/srfi-0
Implement SRFI 0.
2015-06-29 17:55:39 +09:00
OGINO Masanori 555048c146 Implement SRFI 0.
Reference: http://srfi.schemers.org/srfi-0/

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-29 17:17:01 +09:00
Yuichi Nishiwaki a6ec857f98 Merge branch 'core-syntaxes-in-scheme' 2015-06-27 23:01:36 +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