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
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
fccb4b16ea
emit more friendly error message on error from piclib loader
2015-06-26 13:20:49 +09:00
Yuichi Nishiwaki
21c12e9fe5
[bugfix] remove import in (picrin experimental lambda)
2015-06-26 13:19:38 +09:00
Yuichi Nishiwaki
087e65ef1c
don't define (picrin control escape) in callcc.c
2015-06-26 13:19:32 +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
Yuichi Nishiwaki
8587fe6dfc
fix benz's issue 29
2015-06-25 22:33:17 +09:00
Yuichi Nishiwaki
df13e35044
fix dictionary conviersion procedures
2015-06-25 22:29:27 +09:00
Yuichi Nishiwaki
9fc8ccb641
Merge branch 'saner-write'
2015-06-25 18:51:31 +09:00
Yuichi Nishiwaki
b71c9dcbff
cosmetic changes
2015-06-25 18:51:21 +09:00
Yuichi Nishiwaki
cc9dd2aa30
saner output from write
...
No more insane output such as (#0=(1 2 3) #0#).
2015-06-25 18:43:06 +09:00
Yuichi Nishiwaki
032e40e963
cleanup write_core
2015-06-25 17:50:20 +09:00
Yuichi Nishiwaki
37902d38f7
cleanup traverse_shared
2015-06-25 17:28:48 +09:00
Yuichi Nishiwaki
3004f2106c
write supports #' #` #, #,@
2015-06-25 17:19:34 +09:00
Yuichi Nishiwaki
fd677f1f4a
Merge pull request #276 from omasanori/parameterize
...
Refactor t/parameterize.scm with (picrin test).
2015-06-25 16:57:13 +09:00
OGINO Masanori
dc71eba296
Refactor t/parameterize.scm with (picrin test).
...
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-25 16:42:51 +09:00
Yuichi Nishiwaki
8f619fcc18
add test case for #229
2015-06-25 15:38:23 +09:00
Yuichi Nishiwaki
cfd73aae71
Merge branch 'khash-kvec2'
2015-06-25 08:23:09 +09:00
Yuichi Nishiwaki
9db8b33c61
abandon xhash
2015-06-25 07:58:58 +09:00
Yuichi Nishiwaki
42794ebbff
use khash for reader
2015-06-25 07:34:10 +09:00
Yuichi Nishiwaki
5cbb44d6b8
use khash for env
2015-06-25 07:26:48 +09:00
Yuichi Nishiwaki
d500dd5d76
don't use xhash in codegen
2015-06-25 07:19:11 +09:00
Yuichi Nishiwaki
11ed51b236
use khash for registers
2015-06-25 07:14:29 +09:00
Yuichi Nishiwaki
0fb87449fc
use khash for pic->syms
2015-06-25 07:05:41 +09:00