Yuichi Nishiwaki
317369a914
don't include picrin/state.h by default
2016-02-21 00:30:40 +09:00
Yuichi Nishiwaki
9e5f846787
make pic_get_args more useful
2016-02-20 21:16:10 +09:00
Yuichi Nishiwaki
b5a27437e3
cleanup
2016-02-20 20:14:40 +09:00
Yuichi Nishiwaki
73f2578648
struct pic_record * -> pic_value
2016-02-20 17:27:13 +09:00
Yuichi Nishiwaki
da30be167b
struct pic_error * -> pic_value
2016-02-20 16:59:05 +09:00
Yuichi Nishiwaki
d851273f60
struct pic_port * -> pic_value
2016-02-20 16:51:24 +09:00
Yuichi Nishiwaki
215e159598
struct pic_env * -> pic_value
2016-02-20 16:33:51 +09:00
Yuichi Nishiwaki
fc37af43b5
pic_id * -> pic_value
2016-02-20 15:59:06 +09:00
Yuichi Nishiwaki
f4efaf5dc0
pic_sym * -> pic_value
2016-02-20 15:31:14 +09:00
Yuichi Nishiwaki
ef26a75d45
struct pic_weak * -> pic_value
2016-02-20 04:35:15 +09:00
Yuichi Nishiwaki
2d5fbc889e
struct pic_string * -> pic_value
2016-02-20 03:26:52 +09:00
Yuichi Nishiwaki
5254e80932
struct pic_proc * -> pic_value
2016-02-20 00:03:16 +09:00
Yuichi Nishiwaki
064eaff498
struct pic_blob * -> pic_value
2016-02-19 23:22:41 +09:00
Yuichi Nishiwaki
25e19d4f00
struct pic_vector * -> pic_value
2016-02-19 21:56:45 +09:00
Yuichi Nishiwaki
3e4a4755dc
struct pic_dict * -> pic_value
2016-02-19 19:08:45 +09:00
Yuichi Nishiwaki
4d38e08c98
pic_gc_arena_preserve -> pic_enter
2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki
645e5bee3a
remove vector.h
2016-02-19 00:08:39 +09:00
Yuichi Nishiwaki
ada84f48d6
add some object constructors/destructors
2016-02-18 23:49:16 +09:00
Yuichi Nishiwaki
08652df612
don't include type.h at the beginning of picrin.h
2016-02-18 23:35:55 +09:00
Yuichi Nishiwaki
615bdff61a
add pic_state parameter (to be used by copy gc)
2016-02-18 20:15:42 +09:00
Yuichi Nishiwaki
561c350a12
library is now a non-first-class object
2016-02-18 17:39:32 +09:00
Yuichi Nishiwaki
8610f5090d
change the behavior of pic_deflibrary
...
fix regression
2016-02-15 13:28:13 +09:00
Yuichi Nishiwaki
a92e70a610
remove typedefs of struct pic_string and struct pic_blob
2016-02-15 00:20:49 +09:00
Yuichi Nishiwaki
f70dd4d376
add pic_closure_ref, pic_closure_set, and pic_lambda
2016-02-14 22:23:14 +09:00
Yuichi Nishiwaki
8814469eac
pic_apply_trampoline -> pic_applyk
2016-02-14 17:14:33 +09:00
Yuichi Nishiwaki
e8a6f64dd5
remove pic_applyk
2016-02-14 13:46:55 +09:00
Yuichi Nishiwaki
69b660e9a3
remove pic_funcallk and add pic_call
2016-02-14 13:33:15 +09:00
Yuichi Nishiwaki
417a44b786
change the behavior of pic_define
2016-02-14 13:25:18 +09:00
Yuichi Nishiwaki
b577b2d453
reg -> weak
2016-02-10 21:50:39 +09:00
Yuichi Nishiwaki
3bc55b8b62
unwrap union fields
2016-02-08 13:51:41 +09:00
Yuichi Nishiwaki
c7f8293368
add pic_intern_(str|cstr|lit)
2016-02-08 04:10:22 +09:00
Yuichi Nishiwaki
f263e9432e
remove gref slot
2016-02-07 22:17:56 +09:00
Yuichi Nishiwaki
cc75877a76
simplify struct pic_record
2016-02-07 02:58:18 +09:00
Yuichi Nishiwaki
fe994667fa
remove pic_get_proc and add "&" format for pic_get_args
2016-02-07 00:53:12 +09:00
Yuichi Nishiwaki
32f015765d
move the vm to proc.c
2016-02-07 00:09:40 +09:00
Yuichi Nishiwaki
62cc05f978
add OP_PUSHFLOAT
2016-02-06 20:52:36 +09:00
Yuichi Nishiwaki
5af1b44456
wrap irep fields with unions
2016-02-06 18:37:40 +09:00
Yuichi Nishiwaki
600a92835e
add irep->ints
2016-02-05 21:41:20 +09:00
Yuichi Nishiwaki
e96465f724
remove pic_irep.ilen
2016-02-05 20:47:08 +09:00
Yuichi Nishiwaki
64788af4b9
manage ireps using reference count
2016-02-05 00:31:57 +09:00
Yuichi Nishiwaki
6f3083c3ca
never use size_t
2015-08-26 19:04:27 +09:00
Yuichi Nishiwaki
71d1d4837d
pic_intern_cstr -> pic_intern
2015-07-13 08:16:04 +09:00
Yuichi Nishiwaki
25f80dc87d
don't cons in call-with-values
2015-07-04 18:01:30 +09:00
Yuichi Nishiwaki
ddcf96f689
remove pic_proc_name (for a moment)
2015-06-27 19:02:18 +09:00
Yuichi Nishiwaki
53a9e72413
optimize var implementation
2015-06-08 22:28:17 +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
d0e10b49a7
pic_env -> pic_context
2015-05-30 22:34:51 +09:00
Yuichi Nishiwaki
9b7eb2f996
unify all headers into picrin.h
2015-05-28 23:57:10 +09:00