Yuichi Nishiwaki
|
dd7958c3d6
|
reader supports quasiquote abbrev
|
2013-10-23 12:39:48 +09:00 |
Yuichi Nishiwaki
|
dd3adf30e6
|
use xhash to manage scopes during codegin
|
2013-10-22 22:22:35 +09:00 |
Yuichi Nishiwaki
|
b45d7d9592
|
add eof-object type
|
2013-10-22 16:02:20 +09:00 |
Yuichi Nishiwaki
|
176d167de8
|
add some file open functions
|
2013-10-22 15:44:03 +09:00 |
Yuichi Nishiwaki
|
6245ec7e05
|
finalize port objects when collected
|
2013-10-22 15:40:36 +09:00 |
Yuichi Nishiwaki
|
114d6b708b
|
since pic_string is a first-class value, move it to value.h
|
2013-10-21 17:38:05 +09:00 |
Yuichi Nishiwaki
|
f5154625ba
|
add aux object field to proc object
|
2013-10-21 17:35:14 +09:00 |
Yuichi Nishiwaki
|
a49675c322
|
add OP_PUSHCONST
|
2013-10-21 09:29:56 +09:00 |
Yuichi Nishiwaki
|
5e43fe58fe
|
add string type
|
2013-10-21 08:48:55 +09:00 |
Yuichi Nishiwaki
|
4f8aa03b24
|
clarify the meanings of error functions
|
2013-10-20 17:41:48 +09:00 |
Yuichi Nishiwaki
|
a0e2089e56
|
mark global variables
|
2013-10-18 00:17:55 +09:00 |
Yuichi Nishiwaki
|
e7a5784fd7
|
allocate global variable entry area by malloc and save it into pic_state
|
2013-10-18 00:15:15 +09:00 |
Yuichi Nishiwaki
|
c92a672e01
|
change the stack layout: to hold proc object on the stack when procedure
call is invoked
|
2013-10-17 23:29:18 +09:00 |
Yuichi Nishiwaki
|
e87f632327
|
writer writes lists in short form
|
2013-10-17 22:42:20 +09:00 |
Yuichi Nishiwaki
|
986afa2fc9
|
add missing preprocessor if statement
|
2013-10-17 20:55:33 +09:00 |
Yuichi Nishiwaki
|
840593f5f3
|
remove noisy debug print
|
2013-10-16 17:49:16 +09:00 |
Yuichi Nishiwaki
|
c593a46a62
|
add OP_LAMBDA (lambda object creation)
|
2013-10-16 11:32:30 +09:00 |
Yuichi Nishiwaki
|
b60e4df3d9
|
add pic_realloc
|
2013-10-16 11:21:41 +09:00 |
Yuichi Nishiwaki
|
728a4cb9d5
|
[gc] mark ci
|
2013-10-16 09:29:47 +09:00 |
Yuichi Nishiwaki
|
62303ed91e
|
[gc] mark predefined symbols
|
2013-10-16 09:29:39 +09:00 |
Yuichi Nishiwaki
|
04896bcd93
|
[gc] bugfix: do not mark a value out of the stack range
|
2013-10-16 09:28:13 +09:00 |
Yuichi Nishiwaki
|
136977f357
|
[gc] show freed object counts
|
2013-10-16 09:22:15 +09:00 |
Yuichi Nishiwaki
|
c41c5533fe
|
[gc] more debug prints
|
2013-10-16 09:21:57 +09:00 |
Yuichi Nishiwaki
|
1fc4ef18d1
|
fix gc bug
|
2013-10-16 09:21:13 +09:00 |
Yuichi Nishiwaki
|
910f370482
|
[gc] base header size is 1, not 0
|
2013-10-16 09:17:44 +09:00 |
Yuichi Nishiwaki
|
6a10162c2c
|
add picrin/proc.h
|
2013-10-15 13:21:40 +09:00 |
Yuichi Nishiwaki
|
78303a72e5
|
include necessary headers when GC_DEBUG
|
2013-10-15 09:07:55 +09:00 |
Yuichi Nishiwaki
|
528c2e2c15
|
bugfix around GC
|
2013-10-15 08:58:23 +09:00 |
Yuichi Nishiwaki
|
8c73ded2c4
|
add debug prints at GC
|
2013-10-14 18:22:14 +09:00 |
Yuichi Nishiwaki
|
276e139ec6
|
fix bugs around GC
|
2013-10-14 18:21:56 +09:00 |
Yuichi Nishiwaki
|
ed7a9d5758
|
fix commit bug introduced in HEAD^^
|
2013-10-14 17:36:07 +09:00 |
Yuichi Nishiwaki
|
c706d4f326
|
sweep objects from base pointer (not from freep)
|
2013-10-14 17:34:04 +09:00 |
Yuichi Nishiwaki
|
a7cc9bd69d
|
add missing braek statement
|
2013-10-14 17:32:24 +09:00 |
Yuichi Nishiwaki
|
c53bf58e7e
|
move debug prints
|
2013-10-14 17:07:09 +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
|
dc2f25ef2a
|
initial GC commit
|
2013-10-13 19:00:12 +09:00 |
Yuichi Nishiwaki
|
a6f561d66e
|
change the type of argument pic_gc_protect accepts
|
2013-10-13 17:25:36 +09:00 |
Yuichi Nishiwaki
|
ee985a31cd
|
add GC arena
|
2013-10-13 17:02:29 +09:00 |
Yuichi Nishiwaki
|
012b387c89
|
change the semantics of pic_alloc/pic_free
|
2013-10-13 16:56:30 +09:00 |
Yuichi Nishiwaki
|
a0556087f9
|
rename pic_gc_alloc to pic_obj_alloc
|
2013-10-13 16:55:07 +09:00 |
Yuichi Nishiwaki
|
d92bd71293
|
force alignment of headers
|
2013-10-13 16:02:08 +09:00 |
Yuichi Nishiwaki
|
e3600a65c9
|
replace mock allocator with simple k&r malloc
|
2013-10-13 15:14:15 +09:00 |
Yuichi Nishiwaki
|
97ba95e12f
|
add our own malloc implementation (just a mock for now)
|
2013-10-10 16:44:51 +09:00 |