Yuichi Nishiwaki
|
8ae55bd9b6
|
unification uses of int and size_t. use size_t for every variable that
can possibly be used as an array index.
|
2014-01-30 18:14:33 +09:00 |
Yuichi Nishiwaki
|
d471dba322
|
current codegen not supporting env chain short cut
|
2014-01-27 22:24:12 +09:00 |
Yuichi Nishiwaki
|
494989ff3e
|
embed constant pool into irep object
|
2014-01-18 22:32:41 +09:00 |
Yuichi Nishiwaki
|
5e616e7774
|
store irep objects inside parent irep object
|
2014-01-18 21:48:50 +09:00 |
Yuichi Nishiwaki
|
b62374b4b4
|
s/print_irep/pic_dump_irep/g
|
2014-01-18 16:23:12 +09:00 |
Yuichi Nishiwaki
|
ca068f560b
|
clarify license information
|
2014-01-17 20:58:31 +09:00 |
Yuichi Nishiwaki
|
ecaf96ea14
|
add missing break statement
|
2014-01-17 13:16:55 +09:00 |
Yuichi Nishiwaki
|
322021e5d5
|
pic_get_args supports port object
|
2014-01-13 00:48:00 +09:00 |
Yuichi Nishiwaki
|
6b808354c0
|
global variable accessors don't require library object
|
2014-01-13 00:45:49 +09:00 |
Yuichi Nishiwaki
|
d6abb5c0ba
|
add defvar
|
2014-01-12 16:09:27 +09:00 |
Yuichi Nishiwaki
|
10e5546a53
|
functions defined by pic_defun will be implicitly renamed
|
2014-01-12 16:09:19 +09:00 |
Yuichi Nishiwaki
|
a159e52ae6
|
[bugfix] wrong error message
|
2014-01-10 17:49:27 +09:00 |
Yuichi Nishiwaki
|
8e4e226bd3
|
pic_get_args supports symbol
|
2014-01-09 16:33:38 +09:00 |
Yuichi Nishiwaki
|
e3e1ba4c11
|
rename procedure creation functions
|
2014-01-08 22:44:53 +09:00 |
Yuichi Nishiwaki
|
e7f765d218
|
pic_get_args supports pic_procs
|
2014-01-08 20:53:28 +09:00 |
OGINO Masanori
|
ceffd8a3bd
|
Cast to `void *` for '%p' format specifiers.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
|
2014-01-05 18:10:33 +09:00 |
Yuichi Nishiwaki
|
fd8c551159
|
use print_code for CODE_EXECUTE_HOOK
|
2013-12-10 01:47:45 -08:00 |
Yuichi Nishiwaki
|
ceedd05ef0
|
[bugfix] pic_apply_argv concatenated args in reverse order
|
2013-11-27 15:55:54 +09:00 |
Yuichi Nishiwaki
|
2dd293c0f9
|
[workaround] add stack overflow detector
|
2013-11-22 06:37:57 -08:00 |
Yuichi Nishiwaki
|
6cfbe51c87
|
pic_get_args: change type of argc
|
2013-11-18 01:07:51 +09:00 |
Yuichi Nishiwaki
|
5668ae1b29
|
[bugfix] local variables should be initialized before copied to env object
|
2013-11-17 17:24:37 +09:00 |
Yuichi Nishiwaki
|
5947240614
|
[bugfix] fix crash on deeply nested lambdas
|
2013-11-17 13:12:59 +09:00 |
Yuichi Nishiwaki
|
a68b470e06
|
pic_get_args can parse '*'
|
2013-11-15 22:53:41 +09:00 |
Yuichi Nishiwaki
|
850290dda3
|
add some char primitives
|
2013-11-14 20:41:22 +09:00 |
Yuichi Nishiwaki
|
6de5bc7550
|
propagate jmp_bufs (useful when C stack and scheme stack interleave)
|
2013-11-14 19:26:06 +09:00 |
Yuichi Nishiwaki
|
b56b86aae2
|
[bugfix] variables defined by internal definitions may be referred from
inner environments
|
2013-11-14 16:52:49 +09:00 |
Yuichi Nishiwaki
|
b9fce69c61
|
support internal definitions
|
2013-11-13 18:08:22 +09:00 |
Yuichi Nishiwaki
|
2fb4720e22
|
[bugfix] (= 1 1.0) doesn't work
|
2013-11-13 17:40:31 +09:00 |
Yuichi Nishiwaki
|
4fea9169cc
|
error when argument of apply is not a proper list
|
2013-11-11 08:01:08 +09:00 |
Yuichi Nishiwaki
|
fd3300f9db
|
emit int result in int-int division if possible
|
2013-11-09 16:32:13 +09:00 |
Yuichi Nishiwaki
|
e373aa7b92
|
add missing pic_apply_argv definition
|
2013-11-09 14:13:14 +09:00 |
Yuichi Nishiwaki
|
0d28f246de
|
add pic_get_proc
|
2013-11-09 14:12:59 +09:00 |
Yuichi Nishiwaki
|
89eceec7f8
|
fix a bug that pic_apply faults when cfunc proc is given in DEBUG mode
|
2013-11-09 14:12:36 +09:00 |
Yuichi Nishiwaki
|
84c1156b9d
|
add unary minus operator
|
2013-11-07 12:17:37 +09:00 |
Yuichi Nishiwaki
|
9bba0353e8
|
add some bytevector primitives
|
2013-11-04 22:58:16 -05:00 |
Yuichi Nishiwaki
|
1675ad9f52
|
initial char support
|
2013-11-04 21:37:18 -05:00 |
Yuichi Nishiwaki
|
8aca1ebc96
|
rename pic_code.u.c -> pic_code.u.r
|
2013-11-04 21:32:09 -05:00 |
Yuichi Nishiwaki
|
01a5819706
|
add vector primitives
|
2013-11-04 20:55:57 -05:00 |
Yuichi Nishiwaki
|
fb66791216
|
do not create pic_env object when not needed
|
2013-11-04 20:27:44 -05:00 |
Yuichi Nishiwaki
|
86458359e3
|
reduce allocation size when creating pic_env object in OP_CALL
|
2013-11-04 20:23:06 -05:00 |
Yuichi Nishiwaki
|
d0602303e3
|
s/num_val/valuec/g
|
2013-11-04 16:07:36 -05:00 |
Yuichi Nishiwaki
|
346b159e7e
|
add some debug prints
|
2013-11-01 19:02:46 +09:00 |
Yuichi Nishiwaki
|
1f0d096ed6
|
protect return values from gc at the end of VM
|
2013-11-01 18:56:17 +09:00 |
Yuichi Nishiwaki
|
8007baf011
|
[bugfix] allocate space to hold closed rest args variable in pic_env
|
2013-11-01 18:55:23 +09:00 |
Yuichi Nishiwaki
|
75667d7649
|
[bugfix] push nil_value even if ci->argc equals varg proc's argc
|
2013-11-01 15:09:20 +09:00 |
Yuichi Nishiwaki
|
5a7b19b348
|
save each opcode currently fetched into 'c'
|
2013-11-01 14:44:26 +09:00 |
Yuichi Nishiwaki
|
abd5bc9216
|
fix a bug introded in prev prev commit
|
2013-10-30 15:40:40 +09:00 |
Yuichi Nishiwaki
|
d4001a70ae
|
VM works with procs not terminated with OP_STOP
|
2013-10-30 15:36:28 +09:00 |
Yuichi Nishiwaki
|
76ec63d1ca
|
adjust callinfo when OP_STOP
|
2013-10-30 10:05:47 +09:00 |
Yuichi Nishiwaki
|
9bc172bde5
|
add stack underflow detector
|
2013-10-30 10:05:21 +09:00 |