Yuichi Nishiwaki
c539f889cd
native implementatino of for-each
2014-01-22 22:21:48 +09:00
Yuichi Nishiwaki
85a5745716
native implmentation of map
2014-01-22 22:18:25 +09:00
Yuichi Nishiwaki
e417439f4a
reduce exports
2014-01-22 21:36:32 +09:00
Yuichi Nishiwaki
74088d0130
replace list-set! impl with C impl
2014-01-22 21:35:13 +09:00
Yuichi Nishiwaki
d07456466d
replace cxxr and list? impls by scheme with ones by C
2014-01-22 21:29:11 +09:00
Yuichi Nishiwaki
7fc2885fad
replace list impl by scheme with impl by C
2014-01-22 21:20:13 +09:00
Yuichi Nishiwaki
bbd1ec3fbb
replace length/reverse/append impls with c functions
2014-01-22 21:14:10 +09:00
Yuichi Nishiwaki
67d4d28d19
impl list-ref and list-tail as C functions
2014-01-22 21:00:29 +09:00
Yuichi Nishiwaki
7865cfe9b3
add pic_append
2014-01-22 20:57:14 +09:00
Yuichi Nishiwaki
a443d9e3f6
add pic_list_ref and pic_list_tail
2014-01-22 20:57:05 +09:00
Yuichi Nishiwaki
799e26cff0
increate gc header alignment size
2014-01-22 20:44:55 +09:00
Yuichi Nishiwaki
1f51e8bde2
Merge pull request #23 from omasanori/iso-c-mark
...
Define the type of marking flags as unsigned int.
2014-01-19 22:17:14 -08:00
OGINO Masanori
9be7ffc5fc
Define the type of marking flags as unsigned int.
...
We could define it as _Bool since we are going to use C99, but unsigned
int is more portable (even in C89!) and extensible (when we decide to
use tri-color marking GC.)
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-20 14:31:01 +09:00
Yuichi Nishiwaki
9495e9bf5c
alloc functions may take 0 for the size
2014-01-18 07:33:51 -08:00
Yuichi Nishiwaki
c85e07b7ee
shrink default pool/irep size
2014-01-18 23:02:08 +09:00
Yuichi Nishiwaki
1aa35891ad
[bugfix] must multiply the size by sizeof(struct) when using realloc function
2014-01-18 23:01:11 +09:00
Yuichi Nishiwaki
a315f518d2
auto-extend constant pool array
2014-01-18 22:56:43 +09:00
Yuichi Nishiwaki
9fadf16fdb
make iseq length configurable
2014-01-18 22:54:28 +09:00
Yuichi Nishiwaki
494989ff3e
embed constant pool into irep object
2014-01-18 22:32:41 +09:00
Yuichi Nishiwaki
a0f27a68cd
grammartical fix
2014-01-18 22:31:40 +09:00
Yuichi Nishiwaki
fdac5061fd
free irep->irep
2014-01-18 22:31:25 +09:00
Yuichi Nishiwaki
5e616e7774
store irep objects inside parent irep object
2014-01-18 21:48:50 +09:00
Yuichi Nishiwaki
4f5743ad0f
shrink code size
2014-01-18 21:47:52 +09:00
Yuichi Nishiwaki
53e3e019de
ccapa property no longer used
2014-01-18 21:03:12 +09:00
Yuichi Nishiwaki
d3412deae1
duplicate variable binding
2014-01-18 20:53:16 +09:00
Yuichi Nishiwaki
801d92e0a4
store constructing iseq in scope object, not pic_irep
2014-01-18 20:49:01 +09:00
Yuichi Nishiwaki
05a69d10dd
cosmetic changes
2014-01-18 17:19:46 +09:00
Yuichi Nishiwaki
a9574155b8
do not free objects in pic->irep by hands
2014-01-18 16:59:43 +09:00
Yuichi Nishiwaki
82e205bbd0
Merge branch 'master' into irep-gc
2014-01-18 16:58:24 +09:00
Yuichi Nishiwaki
9d18af51da
some global stacks are missed to free
2014-01-18 16:58:14 +09:00
Yuichi Nishiwaki
0db09b146c
ireps generated by top codegen are not registered to pic->irep. get them
...
marked manually.
2014-01-18 16:56:20 +09:00
Yuichi Nishiwaki
42c097a91f
pic->irep is a root marker
2014-01-18 16:55:11 +09:00
Yuichi Nishiwaki
11e4f1644b
irep object is now controlled under GC
2014-01-18 16:53:39 +09:00
Yuichi Nishiwaki
586b228156
add PIC_TT_IREP
2014-01-18 16:51:54 +09:00
Yuichi Nishiwaki
b62374b4b4
s/print_irep/pic_dump_irep/g
2014-01-18 16:23:12 +09:00
Yuichi Nishiwaki
acb513aa16
publish pic_callcc
2014-01-18 16:08:07 +09:00
Yuichi Nishiwaki
3ff7d5b208
grammatical fix
2014-01-18 16:06:59 +09:00
Yuichi Nishiwaki
9d8cf24d9d
keep track of internal changes of picrin for etc/tak.scm
2014-01-18 13:07:29 +09:00
Yuichi Nishiwaki
e195ec7847
add line counter target in makefile
2014-01-18 13:06:56 +09:00
Yuichi Nishiwaki
ee4cb87083
impl pic_unwrap_var
2014-01-18 12:58:00 +09:00
Yuichi Nishiwaki
a16dcb9931
impl pic_set
2014-01-18 12:55:44 +09:00
Yuichi Nishiwaki
abdd992bf5
ignore .dir-locals.el
2014-01-18 12:45:11 +09:00
Yuichi Nishiwaki
4522dd47af
do not put includes in header, but put it in c file
2014-01-18 12:43:38 +09:00
Yuichi Nishiwaki
1aa47ad45a
add 'extern "C"' to all header files
2014-01-18 12:41:39 +09:00
Yuichi Nishiwaki
8fd89090c6
cleanup
2014-01-17 21:21:21 +09:00
Yuichi Nishiwaki
b1424465f4
grammatical fix
2014-01-17 21:16:26 +09:00
Yuichi Nishiwaki
f8748dfd64
revise the top section on readme
2014-01-17 21:11:43 +09:00
Yuichi Nishiwaki
dd9f7a2a55
add AUTHORS file
2014-01-17 21:02:31 +09:00
Yuichi Nishiwaki
ca068f560b
clarify license information
2014-01-17 20:58:31 +09:00
Yuichi Nishiwaki
dc773f9560
decl indicator positioning functions
2014-01-17 20:11:06 +09:00