Commit Graph

2961 Commits

Author SHA1 Message Date
Yuichi Nishiwaki fa8226e581 [bugfix] pic_debug broken in debug build 2015-05-28 23:30:55 +09:00
Yuichi Nishiwaki 00cde353ba xfile completely refactored 2015-05-28 23:28:55 +09:00
Yuichi Nishiwaki 329251d984 embed chunk buffer into pic_chunk 2015-05-28 17:29:13 +09:00
Yuichi Nishiwaki e30f1a11dc more strict unused variable check 2015-05-28 17:06:41 +09:00
Yuichi Nishiwaki d11da3a400 move complex macros from picrin.h to util.h 2015-05-28 16:54:36 +09:00
Yuichi Nishiwaki 6a692541a6 s/pic_alloc/pic_malloc/g 2015-05-28 16:42:16 +09:00
Yuichi Nishiwaki 278075910a custom allocator and custom abort 2015-05-28 02:12:26 +09:00
Yuichi Nishiwaki 271898ae78 don't use xmopen 2015-05-28 01:58:22 +09:00
Yuichi Nishiwaki 304664eaf0 add libc fallback 2015-05-28 01:55:55 +09:00
Yuichi Nishiwaki 7dcd050e1a add PIC_ENABLE_FLOAT and PIC_WORD_BOXING 2015-05-28 01:48:38 +09:00
Yuichi Nishiwaki 4bdb17db2f style fix 2015-05-28 01:06:44 +09:00
Yuichi Nishiwaki b9dde91123 allow custom setjmp/longjmp 2015-05-28 00:41:55 +09:00
Yuichi Nishiwaki bb55bbfdde [bugfix] codegen causes segv when default irep size is short 2015-05-28 00:21:49 +09:00
Yuichi Nishiwaki 9885bdd982 explicit cast to size_t 2015-05-28 00:17:12 +09:00
Yuichi Nishiwaki 7923f947d7 don't use xstd** from benz 2015-05-28 00:14:10 +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 15449354c6 switch string implementation to picrin's 2015-05-27 23:34:40 +09:00
Yuichi Nishiwaki 6d5ef7bda5 more error handling at pic_open 2015-05-27 23:08:47 +09:00
Yuichi Nishiwaki 53dadede15 [bugfix] gc bug 2015-05-27 23:01:35 +09:00
Yuichi Nishiwaki 2bfb6876eb don't use bit field 2015-05-27 22:49:29 +09:00
Yuichi Nishiwaki 81be1b9e3e define pic_dump_irep only if DEBUG is defined 2015-05-27 22:10:51 +09:00
Yuichi Nishiwaki 3bc0be34ac remove trailing comma 2015-05-27 22:08:44 +09:00
Yuichi Nishiwaki 55e9458e52 Merge pull request #264 from syohex/correct-type
Correct cast type
2015-05-23 19:38:07 +09:00
Syohei YOSHIDA 919675670f Correct cast type 2015-05-22 14:59:01 +09:00
Yuichi Nishiwaki d2842dd579 Merge pull request #263 from omasanori/srfi43
Make vector-map{,!} SRFI 43-compliant
2015-05-16 02:07:41 +09:00
OGINO Masanori 52624460cd Don't import vector-map from R7RS in SRFI 43.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-05-13 12:10:04 +09:00
stibear 48faa9ac98 fixed vector-map/map! 2015-05-13 12:02:01 +09:00
Sunrin SHIMURA (keen) a8520fe595 number->string: remove trailing 0s 2015-05-11 16:26:55 +09:00
Sunrin SHIMURA (keen) e3d2330df7 Use strict ERE 2015-05-11 16:05:40 +09:00
Sunrin SHIMURA 41be4b44e9 Merge pull request #262 from omasanori/32bit
Build and test 32 & 64 bit builds on Travis CI.
2015-05-11 16:02:26 +09:00
Sunrin SHIMURA 45e472556c Merge pull request #261 from omasanori/cflags
Make CMAKE_C_FLAGS{,_DEBUG} configurable.
2015-05-11 16:02:15 +09:00
OGINO Masanori 8e932d624c Build and test 32 & 64 bit builds on Travis CI.
Depends on PR #261. Fixes #213.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-05-11 14:44:47 +09:00
OGINO Masanori c4174d3d5c Make CMAKE_C_FLAGS{,_DEBUG} configurable.
Now you can add any options for compilers with e.g. `cmake
-DCMAKE_C_FLAGS="-Werror -Wformat=2"`. Note that these options are added
at first, so `cmake -DCMAKE_C_FLAGS=-O3` would not work as expected
since `-O2` is specified after your `-O3`.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-05-11 13:00:31 +09:00
Yuichi Nishiwaki e7946902c1 Merge pull request #258 from picrin-scheme/issue-257
Issue 257
2015-02-05 16:52:35 +09:00
Sunrin SHIMURA (keen) dfd6e453f3 remove unneeded argc initialization 2015-02-05 05:51:39 +00:00
Yuichi Nishiwaki 9ee2227d06 Merge pull request #249 from picrin-scheme/better-error-message2
Better error message2
2015-02-04 23:58:50 +09:00
Sunrin SHIMURA (keen) 32831c11e0 fix #257 2015-02-04 14:05:34 +00:00
Sunrin SHIMURA (keen) 27a1694f51 add test for #257 2015-02-04 13:52:46 +00:00
Sunrin SHIMURA (keen) 06a2b09e69 display proc name in error message raised from `pic_get_args` 2015-02-04 13:46:29 +00:00
Sunrin SHIMURA (keen) 65967f2e05 fix a bug 2015-02-03 17:19:17 +00:00
Sunrin SHIMURA (keen) 1700610729 rewrite to be clean 2015-02-03 16:57:39 +00:00
Sunrin SHIMURA (keen) 9571030f7e Merge branch 'master' into better-error-message2
Conflicts:
	extlib/benz/vm.c
2015-02-02 18:32:20 +00:00
Sunrin SHIMURA (keen) e2f10ba3ad rewrite pic_get_args to check nparams first 2015-02-02 18:30:14 +00:00
Sunrin SHIMURA (keen) a80f4834dc Merge branch 'master' of github.com:picrin-scheme/picrin 2015-02-01 12:31:30 +00:00
Sunrin SHIMURA (keen) cc9de3295d Merge branch 'master' into c89-porting 2015-02-01 12:30:35 +00:00
Sunrin SHIMURA (keen) 8a7f61bf01 use correct vars 2015-02-01 12:25:48 +00:00
Yuichi Nishiwaki a90a90ecc6 Merge pull request #254 from picrin-scheme/c89-porting
C89 porting
2015-02-01 21:14:26 +09:00
Yuichi Nishiwaki b727567b6e udpate docs 2015-01-31 21:43:49 +09:00
Yuichi Nishiwaki a7b3123405 don't use dynamic variable length array 2015-01-31 21:43:32 +09:00