Yuichi Nishiwaki
|
02d52723ac
|
add some FFI functions such as pic_defun and pic_get_args
|
2013-10-15 19:19:34 +09:00 |
Yuichi Nishiwaki
|
8a5ea7d7dc
|
implement OP_CALL
|
2013-10-15 19:18:33 +09:00 |
Yuichi Nishiwaki
|
e5ada35d9d
|
directly change pic->sp via PUSH/POP macros
|
2013-10-15 19:15:51 +09:00 |
Yuichi Nishiwaki
|
2afdb54c16
|
print generated irep
|
2013-10-15 09:07:19 +09:00 |
Yuichi Nishiwaki
|
42dbd5fe98
|
save some special symbols in pic_state structure
|
2013-10-14 18:28:52 +09:00 |
Yuichi Nishiwaki
|
daa65bdecf
|
pop value from the stack at the end of VM execution
|
2013-10-14 17:05:49 +09:00 |
Yuichi Nishiwaki
|
298a8e685f
|
replace use of malloc/free with pic_alloc/pic_free
|
2013-10-14 17:04:59 +09:00 |
Yuichi Nishiwaki
|
a5db43ba91
|
add object finalizer
|
2013-10-13 19:00:39 +09:00 |
Yuichi Nishiwaki
|
2ef277d5bd
|
add arena protection to the VM
|
2013-10-13 17:29:21 +09:00 |
Yuichi Nishiwaki
|
8b859d4dbc
|
define stack operation macros POP and PUSH
|
2013-10-13 17:27:44 +09:00 |
Yuichi Nishiwaki
|
a0556087f9
|
rename pic_gc_alloc to pic_obj_alloc
|
2013-10-13 16:55:07 +09:00 |
Yuichi Nishiwaki
|
1fb9ac5d03
|
let pic_proc be a first class object
|
2013-10-13 16:16:13 +09:00 |
Yuichi Nishiwaki
|
c250d3b07f
|
use C malloc instead of pic_alloc
|
2013-10-13 16:01:40 +09:00 |
Yuichi Nishiwaki
|
38858e7a11
|
replace big VM loop stuff with macros
|
2013-10-12 18:48:35 +09:00 |
Yuichi Nishiwaki
|
4cceb73db6
|
support global variable
|
2013-10-12 14:40:55 +09:00 |
Yuichi Nishiwaki
|
69e927d7bc
|
add pic_raise
|
2013-10-12 14:40:27 +09:00 |
Yuichi Nishiwaki
|
b284973035
|
add #<undef>
|
2013-10-12 14:40:01 +09:00 |
Yuichi Nishiwaki
|
8d23ef666f
|
cleanup
|
2013-10-12 13:06:02 +09:00 |
Yuichi Nishiwaki
|
5f90f49604
|
remove old VM test code
|
2013-10-12 13:01:48 +09:00 |
Yuichi Nishiwaki
|
ee3442210c
|
replace evaluator in repl to the VM
|
2013-10-12 12:55:05 +09:00 |
Yuichi Nishiwaki
|
65c9843d83
|
add VM codegen
|
2013-10-12 12:53:54 +09:00 |
Yuichi Nishiwaki
|
643d8be66d
|
first VM impl
|
2013-10-12 00:16:19 +09:00 |