Yuichi Nishiwaki
27d642ecaf
use proc_env in callcc.c
2015-06-02 06:58:02 +09:00
Yuichi Nishiwaki
9573c6db65
use proc_env in callcc implementation
2015-06-02 06:54:39 +09:00
Yuichi Nishiwaki
0ea80d1f34
use proc_env in var implementation
2015-06-02 06:53:16 +09:00
Yuichi Nishiwaki
fc957da920
add 'env' property to struct pic_proc
...
Using attribute to make closure from c function is unsafe because closed
variables are visible from the scheme world. Use env property instead
from now.
2015-06-02 06:53:16 +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
65dc4020f4
Merge branch 'fix-escape'
2015-06-02 06:52:52 +09:00
Yuichi Nishiwaki
1fb918743a
rename variables
2015-06-02 06:32:43 +09:00
Yuichi Nishiwaki
5df4e4f64e
rename functions related to continuation
2015-06-02 06:18:09 +09:00
Yuichi Nishiwaki
02f0d00578
update Makefile
2015-06-02 06:03:35 +09:00
Yuichi Nishiwaki
dbcd81c8c1
[bugfix] calling dead escape continuation causes segv
2015-06-02 06:01:16 +09:00
Yuichi Nishiwaki
1e3bb6f1bb
cleanup pic_push_try
2015-06-02 05:14:43 +09:00
Yuichi Nishiwaki
e0c837baee
don't do pop_try in pic_raise
2015-06-02 05:00:17 +09:00
Sunrim KIM (keen)
6e9024b237
don't pass NULL to memcpy
2015-05-31 21:26:06 +09:00
Sunrim KIM (keen)
83a84c3582
sort include files in order to ensure directory name sorting works
2015-05-31 21:25:49 +09:00
Yuichi Nishiwaki
f7b7655830
always -Wall -Wextra
2015-05-31 14:32:56 +09:00
Sunrim KIM (keen)
7b26e6cefe
Merge branch 'master' of github.com:picrin-scheme/picrin
2015-05-31 14:25:22 +09:00
Yuichi Nishiwaki
15e61d8cd4
pic_open_library -> pic_make_library
2015-05-31 00:25:40 +09:00
Sunrim KIM (keen)
221f089716
remove prototype declaration of function macro
2015-05-30 23:45:54 +09:00
Yuichi Nishiwaki
5092affcfc
add -fPIC
2015-05-30 23:07:31 +09:00
Yuichi Nishiwaki
599d8f5980
pic_senv -> pic_env
2015-05-30 22:39:03 +09:00
Yuichi Nishiwaki
d0e10b49a7
pic_env -> pic_context
2015-05-30 22:34:51 +09:00
Yuichi Nishiwaki
bebda9407f
don't do -Werror
2015-05-30 22:07:25 +09:00
Yuichi Nishiwaki
617de67b94
cleanup
2015-05-30 20:05:04 +09:00
Yuichi Nishiwaki
ce25121837
run test-nostdlib when make test runs
2015-05-30 20:01:17 +09:00
Yuichi Nishiwaki
334ceb9e7c
fix bugs unveiled by the previous commit
2015-05-30 19:57:32 +09:00
Yuichi Nishiwaki
bad14933d2
add test-nostdlib target
2015-05-30 19:57:12 +09:00
Yuichi Nishiwaki
92bed39fae
merge file/load/mutable-string/system/time contribs into r7rs
2015-05-30 19:39:18 +09:00
Yuichi Nishiwaki
3a2d3406bb
Merge branch 'abandon-cmake'
2015-05-30 19:25:20 +09:00
Yuichi Nishiwaki
0dc59840c4
update README and docs
2015-05-30 19:20:09 +09:00
Yuichi Nishiwaki
0d12c11b0a
replace regexp cmake with nitro.mk
2015-05-30 18:27:24 +09:00
Yuichi Nishiwaki
bf0e388b3e
support environments without libedit
2015-05-30 18:13:55 +09:00
Yuichi Nishiwaki
356643170a
don't track bin/picrin
2015-05-30 17:59:23 +09:00
Yuichi Nishiwaki
708f3c2d67
replace readline cmake with equivalent pkg-config call
2015-05-30 17:58:25 +09:00
Yuichi Nishiwaki
c9da23c2ee
add -lm
2015-05-29 21:12:28 +09:00
Yuichi Nishiwaki
ab9c33fc22
update repl
2015-05-29 20:43:05 +09:00
Yuichi Nishiwaki
cd4b1be54c
abandon cmake
2015-05-29 20:42:26 +09:00
Yuichi Nishiwaki
9b7eb2f996
unify all headers into picrin.h
2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki
fa8226e581
[bugfix] pic_debug broken in debug build
2015-05-28 23:30:55 +09:00
Yuichi Nishiwaki
00cde353ba
xfile completely refactored
2015-05-28 23:28:55 +09:00
Yuichi Nishiwaki
329251d984
embed chunk buffer into pic_chunk
2015-05-28 17:29:13 +09:00
Yuichi Nishiwaki
e30f1a11dc
more strict unused variable check
2015-05-28 17:06:41 +09:00
Yuichi Nishiwaki
d11da3a400
move complex macros from picrin.h to util.h
2015-05-28 16:54:36 +09:00
Yuichi Nishiwaki
6a692541a6
s/pic_alloc/pic_malloc/g
2015-05-28 16:42:16 +09:00
Yuichi Nishiwaki
278075910a
custom allocator and custom abort
2015-05-28 02:12:26 +09:00
Yuichi Nishiwaki
271898ae78
don't use xmopen
2015-05-28 01:58:22 +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
b9dde91123
allow custom setjmp/longjmp
2015-05-28 00:41:55 +09:00