Commit Graph

3526 Commits

Author SHA1 Message Date
Sunrin SHIMURA (keen) 4d6667b0e0 run finalizers 2016-06-19 02:25:19 +09:00
Sunrin SHIMURA (keen) 9da556e9a8 faster allocation/sweep 2016-06-19 01:20:08 +09:00
Sunrin SHIMURA (keen) d4b9e38fd6 use aligned allocating so that finding objct's heap_page is O(1) 2016-06-18 19:25:07 +09:00
Sunrin SHIMURA (keen) 17c223a08c Merge branch 'master' into bitmap-marking 2016-06-18 17:51:29 +09:00
Yuichi Nishiwaki dfc72fd011 Merge branch 'stibear-lazy' 2016-06-03 14:35:13 +09:00
Yuichi Nishiwaki f1b6109b2f make a small optimization 2016-06-03 02:42:48 +09:00
Yuichi Nishiwaki 365ccc7a51 fix #339 2016-06-03 01:44:03 +09:00
stibear d9f4380ae8 fix promise bug
fix the second one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-03 00:41:02 +09:00
Yuichi Nishiwaki 15f048d0da Merge pull request #341 from stibear/lazy2
fix promise bugs on corner cases (second one)
2016-06-02 22:34:24 +09:00
stibear 3d2dd7cefc fix promise bug
fix the second one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-02 22:28:49 +09:00
stibear 842a0290f3 fix promise bug
fix the first one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-02 22:09:51 +09:00
Yuichi Nishiwaki dd75267f8e Merge pull request #337 from omasanori/char-ascii
Restrict char in the range of ASCII.
2016-04-01 15:36:29 -07:00
Masanori Ogino 993d1813a1 Restrict char in the range of ASCII.
picrin accepts the code `(char->integer (integer->char 128))` but the
result is machine-dependent, since the C `char` type can be either
signed or unsigned as permitted by the spec. Unfortunately, the result
of signed one is incompatible with Unicode-aware implementations. For
interoperability, we should deny the range beyond ASCII for now.

Ref: #211

Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2016-03-28 17:37:26 +09:00
Yuichi Nishiwaki 917704e9a4 add normalizer 2016-03-14 12:03:59 +09:00
Yuichi Nishiwaki 574c8ce884 fix #335 2016-03-14 10:55:22 +09:00
Yuichi Nishiwaki 5af735d796 don't chain ireps whose npool is zero 2016-03-14 10:48:18 +09:00
Yuichi Nishiwaki 52b5e6e521 Merge pull request #336 from picrin-scheme/test-with-all
run `make` before run `make test` to test the binary built for usual use
2016-03-10 18:31:45 +09:00
Sunrin SHIMURA (keen) d80e6cc455 run `make` before run `make test` to test the binary built for usual use 2016-03-10 10:26:41 +09:00
Yuichi Nishiwaki a0edca8d8d keep continuation object from being optimized out 2016-03-04 00:32:01 +09:00
Yuichi Nishiwaki 86c68b1769 prohibit overriding vm procs 2016-03-03 21:41:29 +09:00
Yuichi Nishiwaki e4bf1a14ab optimize vm procs 2016-03-03 21:38:50 +09:00
Yuichi Nishiwaki 6244c9c550 check if library name is legal 2016-03-03 21:21:49 +09:00
Yuichi Nishiwaki 3102125a0b turn off -flto by default 2016-03-03 19:59:37 +09:00
Yuichi Nishiwaki 69c13fdcce fix buffer overrun 2016-03-03 19:55:27 +09:00
Yuichi Nishiwaki 5ce271e9fe simplify number reader 2016-03-03 19:42:18 +09:00
Yuichi Nishiwaki 85b58bd43e add pic_boot function 2016-03-03 18:59:07 +09:00
Yuichi Nishiwaki c27ce690a6 remove declare_vm_procedure macro 2016-03-03 18:43:57 +09:00
Yuichi Nishiwaki ce6dd55ea5 segv if an error is raised when no exception handler is registered 2016-03-02 04:34:43 +09:00
Yuichi Nishiwaki 3feee82d8b default library is picrin.user 2016-03-02 04:34:33 +09:00
Yuichi Nishiwaki ca4fb058d1 remove pic->iseq 2016-03-01 03:14:18 +09:00
Yuichi Nishiwaki b0f05f54a6 Merge branch 'rope-cleanup' 2016-03-01 01:54:14 +09:00
Yuichi Nishiwaki ae88bed481 remove struct chunk 2016-02-29 16:48:38 +09:00
Yuichi Nishiwaki d2167a87f9 optimize rope 2016-02-27 02:44:02 +09:00
Yuichi Nishiwaki 8810d94259 decrease sizeof struct rope 2016-02-27 01:38:07 +09:00
Yuichi Nishiwaki a14d3a62c4 don't use size_t for index 2016-02-27 00:45:02 +09:00
Yuichi Nishiwaki 22d339c2f7 fix build errors 2016-02-25 21:17:44 +09:00
Yuichi Nishiwaki 8a9a1200d8 pic_catch binds current error object to a variable 2016-02-25 20:52:38 +09:00
Yuichi Nishiwaki 73e38657ff remove pic->native_stack_start 2016-02-24 16:32:24 +09:00
Yuichi Nishiwaki 29d7a7fc48 pic->lib is now of string type 2016-02-24 03:59:51 +09:00
Yuichi Nishiwaki 17d75f915f s/PIC_OBJECT_HEADER/OBJECT_HEADER/g 2016-02-24 02:36:09 +09:00
Yuichi Nishiwaki 17ccaea236 remove pic->ccnt 2016-02-23 23:28:28 +09:00
Yuichi Nishiwaki eea41c53d7 cleanup 2016-02-23 22:55:15 +09:00
Yuichi Nishiwaki 54d9d4865c pic_assert_type -> TYPE_CHECK 2016-02-23 22:53:20 +09:00
Yuichi Nishiwaki e93536bf9a struct pic_cont -> struct cont 2016-02-23 22:48:06 +09:00
Yuichi Nishiwaki b3e9794385 remove pic->xp 2016-02-23 22:42:03 +09:00
Yuichi Nishiwaki 34331dad6f [bugfix] make-parameter is broken 2016-02-23 20:50:26 +09:00
Yuichi Nishiwaki 4c6fe54d34 [bugfix] dynamic-wind is broken 2016-02-23 20:29:27 +09:00
Yuichi Nishiwaki 8421cfb00a Merge pull request #332 from picrin-scheme/moving-gc
towards moving gc
2016-02-23 14:22:27 +09:00
Yuichi Nishiwaki a96e5a0beb cosmetic changes 2016-02-23 14:15:42 +09:00
Yuichi Nishiwaki 4a0d077044 picrin/config.h -> picconf.h 2016-02-23 14:09:15 +09:00