Doug Currie
ad0ef726fc
Fix issue #322 string->number should never signal error
2016-01-10 14:56:44 -05:00
Doug Currie
bfe1db8d16
Add benz compile time hooks PIC_DOUBLE_TO_CSTRING and PIC_CSTRING_TO_DOUBLE
2016-01-08 23:06:14 -05:00
Doug Currie
be33d016e9
Refactor read_unsigned to prepare for pluggable atod
2016-01-08 15:55:00 -05:00
Sunrin SHIMURA (keen)
df1a7b5fd5
add irritant to read error, fixing #310
2015-10-06 14:04:48 +09:00
Yuichi Nishiwaki
6f3083c3ca
never use size_t
2015-08-26 19:04:27 +09:00
OGINO Masanori
16b427b8c4
Fix typo, alerm -> alarm.
...
This commit also enables some tests to catch more regressions.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-22 23:06:46 +09:00
Yuichi Nishiwaki
86a056c70a
[bugfix] some paths in no-libc mode depend on lib
2015-07-20 02:45:57 +09:00
Yuichi Nishiwaki
c2754509f2
remove PIC_ENABLE_FLOAT flag
2015-07-20 02:19:41 +09:00
Yuichi Nishiwaki
cbe5e81b28
remove pic_make_vec_from_list
2015-07-13 09:03:12 +09:00
Yuichi Nishiwaki
71d1d4837d
pic_intern_cstr -> pic_intern
2015-07-13 08:16:04 +09:00
Yuichi Nishiwaki
3285cc021b
use snprintf and atof if possible
2015-07-04 17:32:16 +09:00
Yuichi Nishiwaki
4905aab416
remove pic->file and pic->read
2015-07-02 08:50:28 +09:00
Yuichi Nishiwaki
f6a727beb4
cleanup pic_read
2015-06-30 01:17:13 +09:00
Yuichi Nishiwaki
5138ab4a8c
save arena
2015-06-30 01:17:13 +09:00
Yuichi Nishiwaki
8b550de06a
[bugfix] port leaks
2015-06-26 23:45:56 +09:00
Yuichi Nishiwaki
42794ebbff
use khash for reader
2015-06-25 07:34:10 +09:00
Yuichi Nishiwaki
10f81512d8
don't malloc pic_reader
2015-06-19 03:14:55 +09:00
Yuichi Nishiwaki
3df7d1dd71
use pic_malloc and pic_free in file.c
2015-06-19 02:05:56 +09:00
Yuichi Nishiwaki
a88b5e193f
remove #. reader
2015-06-16 21:39:41 +09:00
Yuichi Nishiwaki
84a3eaee35
change eval interface: eval takes an expression and an environment
...
macroexpand should be done in the context in which the expansion is
running. As of now I only changed c interface of eval but should change
the scheme interface as well ASAP.
2015-06-16 19:16:06 +09:00
Yuichi Nishiwaki
181d120f09
reader support of (#' #` #, #,@)
2015-06-15 02:52:37 +09:00
Yuichi Nishiwaki
5185a73cd2
replace none with undef
2015-06-09 16:34:45 +09:00
Yuichi Nishiwaki
084d39cd9e
let undefined be public API
2015-06-09 16:19:57 +09:00
Yuichi Nishiwaki
2c9a19acf5
introduce pic_invalid_value
2015-06-09 16:02:23 +09:00
Yuichi Nishiwaki
72baa9a52d
remove pic_throw function
2015-06-04 13:23:20 +09:00
Yuichi Nishiwaki
9b7eb2f996
unify all headers into picrin.h
2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki
00cde353ba
xfile completely refactored
2015-05-28 23:28:55 +09:00
Yuichi Nishiwaki
e30f1a11dc
more strict unused variable check
2015-05-28 17:06:41 +09:00
Yuichi Nishiwaki
6a692541a6
s/pic_alloc/pic_malloc/g
2015-05-28 16:42:16 +09:00
Yuichi Nishiwaki
7dcd050e1a
add PIC_ENABLE_FLOAT and PIC_WORD_BOXING
2015-05-28 01:48:38 +09:00
Yuichi Nishiwaki
1fe960716e
[bugfix] too long fraction causes overflow
2015-05-28 00:02:24 +09:00
Yuichi Nishiwaki
4cd8dcab60
refactor number reader
2015-05-27 23:40:01 +09:00
Yuichi Nishiwaki
303041abc5
fix degade
2015-01-26 14:33:48 +09:00
Yuichi Nishiwaki
f96579805c
reserve square brackets
2015-01-26 12:29:29 +09:00
Yuichi Nishiwaki
1e8f49872e
s/pic_noreturn/PIC_NORETURN/g
2015-01-26 12:22:38 +09:00
Yuichi Nishiwaki
3d1098967c
use pic_alloc/pic_free in initializing struct pic_reader
2015-01-22 17:18:38 +09:00
Yuichi Nishiwaki
8c67ad863b
stop using trie tree-based reader table
2015-01-22 16:53:11 +09:00
Yuichi Nishiwaki
6e6e1de7a5
pic_sym is not a pointer
2015-01-20 16:02:28 +09:00
Yuichi Nishiwaki
2d1ddb9a5a
s/pic_sym/pic_sym_ptr/g
2015-01-20 15:31:17 +09:00
Yuichi Nishiwaki
3fc49b59be
move symbol-related macros to symbol.h
2015-01-19 11:11:19 +09:00
Yuichi Nishiwaki
fa1b681eba
remove pic_sym_value
2015-01-19 11:08:27 +09:00
Yuichi Nishiwaki
4be979b1df
change pic_intern interface
2015-01-19 02:21:10 +09:00
Yuichi Nishiwaki
4cc423d815
gather all includes of standard headers into picrin.h
2015-01-18 00:17:37 +09:00
Yuichi Nishiwaki
9303fcf34b
safer names for utility macros
2015-01-07 13:11:48 -08:00
Sunrin SHIMURA (keen)
814425508f
Add 'extlib/benz/' from commit '569b1ace02e6a066b21f94dff23c4e01b8748bf0'
...
git-subtree-dir: extlib/benz
git-subtree-mainline: 3c3d9f4c27
git-subtree-split: 569b1ace02
2015-01-03 06:31:37 +00:00