Yuichi Nishiwaki
|
00d92c79bf
|
pic_length is now unsafe to circular list
|
2014-03-16 23:13:03 +09:00 |
Yuichi Nishiwaki
|
8598042deb
|
pic_list_p don't need to take pic_state *.
|
2014-03-16 23:12:07 +09:00 |
Yuichi Nishiwaki
|
27d4853aef
|
refactor pic_list_p
|
2014-03-16 22:51:33 +09:00 |
koba-e964
|
c23e3254fb
|
cleanup
Re-format the code so that it complies with the C coding rule of picrin.
|
2014-03-16 21:55:50 +09:00 |
koba-e964
|
138ac70130
|
list? for circular lists
pic_list_p() detects circular lists using Floyd's cycle-finding algorithm.
|
2014-03-16 01:38:12 +09:00 |
Yuichi Nishiwaki
|
c357a9302d
|
remove pic_list, and add pic_listn
|
2014-03-01 20:46:08 +09:00 |
Yuichi Nishiwaki
|
c2a1ea6748
|
dont consume arena in pic_append
|
2014-02-11 16:22:17 +09:00 |
Yuichi Nishiwaki
|
9b31e5bd2f
|
refactor list_by_array
|
2014-02-02 21:16:45 +09:00 |
Yuichi Nishiwaki
|
f2507b5cbf
|
rename ..._from_... to ..._by_...
|
2014-02-02 12:26:43 +09:00 |
Yuichi Nishiwaki
|
2f50f92ddc
|
use pic_for_each
|
2014-02-01 16:05:29 +09:00 |
Yuichi Nishiwaki
|
173d4dcf07
|
use UNUSED macro
|
2014-01-30 18:15:59 +09:00 |
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
|
055272f0d5
|
arena management in pic_list
|
2014-01-27 22:20:46 +09:00 |
Yuichi Nishiwaki
|
5dd66cbcd1
|
replace list-copy and make-list impls by scheme with ones by C
|
2014-01-22 22:37:27 +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
|
ca068f560b
|
clarify license information
|
2014-01-17 20:58:31 +09:00 |
Yuichi Nishiwaki
|
33cbf5ff6a
|
configurable none value
|
2014-01-08 15:22:23 +09:00 |
Yuichi Nishiwaki
|
fabe70aaf2
|
[bugfix] assq and assoc should return false if key is not found
|
2013-12-07 23:13:45 -08:00 |
Yuichi Nishiwaki
|
aac2082991
|
add pic_assoc
|
2013-12-07 06:30:21 -08:00 |
Yuichi Nishiwaki
|
bf6a337a5f
|
add pic_cxxr functions
|
2013-11-26 02:42:13 -08:00 |
Yuichi Nishiwaki
|
05b2717b9e
|
less memory usage of pic_reverse
|
2013-11-21 06:32:56 -08:00 |
Yuichi Nishiwaki
|
d4188e0969
|
add error function
|
2013-11-17 18:16:03 +09:00 |
Yuichi Nishiwaki
|
a2f022df4e
|
implement native version of some primitive functions such as car,crd...
|
2013-11-15 16:07:03 +09:00 |
Yuichi Nishiwaki
|
27dc840118
|
eq? predicate supports nan-boxing
|
2013-11-06 16:06:31 +09:00 |
Yuichi Nishiwaki
|
46fccff806
|
cleanup
|
2013-11-05 00:30:03 -05:00 |
Yuichi Nishiwaki
|
c782912212
|
add pair?
|
2013-10-25 00:37:08 +09:00 |
Yuichi Nishiwaki
|
331fdaba4c
|
warn various kinds of syntax errors during codegen
|
2013-10-24 21:55:07 +09:00 |
Yuichi Nishiwaki
|
dd7958c3d6
|
reader supports quasiquote abbrev
|
2013-10-23 12:39:48 +09:00 |
Yuichi Nishiwaki
|
f01ac50dd2
|
add set-car!/set-cdr!
|
2013-10-23 12:01:06 +09:00 |
Yuichi Nishiwaki
|
0c1babb6c5
|
add pic_reverse
|
2013-10-22 00:19:43 +09:00 |
Yuichi Nishiwaki
|
db1f977600
|
add pic_list_p
|
2013-10-21 12:03:35 +09:00 |
Yuichi Nishiwaki
|
cefa9a9885
|
handle runtime error
|
2013-10-20 23:30:01 +09:00 |
Yuichi Nishiwaki
|
bde09e063a
|
add pic_acons function
|
2013-10-20 14:04:39 +09:00 |
Yuichi Nishiwaki
|
50b9c2bd97
|
add pair.h
|
2013-10-20 12:34:57 +09:00 |
Yuichi Nishiwaki
|
a0556087f9
|
rename pic_gc_alloc to pic_obj_alloc
|
2013-10-13 16:55:07 +09:00 |
Yuichi Nishiwaki
|
2a6978a3b9
|
fix bugs around compilation
|
2013-10-10 17:54:35 +09:00 |
Yuichi Nishiwaki
|
9038939bd1
|
add some pair functions
|
2013-10-10 17:06:26 +09:00 |