Commit Graph

3190 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 5cbb44d6b8 use khash for env 2015-06-25 07:26:48 +09:00
Yuichi Nishiwaki d500dd5d76 don't use xhash in codegen 2015-06-25 07:19:11 +09:00
Yuichi Nishiwaki 11ed51b236 use khash for registers 2015-06-25 07:14:29 +09:00
Yuichi Nishiwaki 0fb87449fc use khash for pic->syms 2015-06-25 07:05:41 +09:00
Yuichi Nishiwaki 03a649ed23 use khash in equal? impl 2015-06-25 06:44:45 +09:00
Yuichi Nishiwaki d6edf41305 kh_resize operation never fail 2015-06-25 06:39:13 +09:00
Yuichi Nishiwaki 2e1280ce5c don't use malloc/realloc/free in khash.h 2015-06-25 06:13:20 +09:00
Yuichi Nishiwaki a7475a66fe Merge branch 'master' into khash-kvec 2015-06-25 05:58:12 +09:00
Yuichi Nishiwaki 6b15304d85 [bugfix] ptable consists of registers 2015-06-25 05:56:47 +09:00
Yuichi Nishiwaki 5cf1822813 use khash for dictionary impl 2015-06-25 05:56:15 +09:00
Yuichi Nishiwaki 3a46c8398a Merge pull request #274 from omasanori/socket
Correct visibility of symbols in (srfi 106).
2015-06-24 19:50:32 +09:00
OGINO Masanori f836c4db47 Correct visibility of symbols in (srfi 106).
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-24 18:44:44 +09:00
Yuichi Nishiwaki f323e9d232 [bugfix] call/cc will get caught in an infinite loop if the machine
stack grows upward
2015-06-24 16:02:46 +09:00
Yuichi Nishiwaki 0daa4febb0 fix #270 2015-06-24 02:17:13 +09:00
Yuichi Nishiwaki f5789c7c6f added c functions to define private varaibles. see discussion on #271 2015-06-24 02:02:26 +09:00
Yuichi Nishiwaki 324445f483 fix #273 2015-06-24 01:54:46 +09:00
Yuichi Nishiwaki 07fc2bb98e cleanup 2015-06-24 01:13:18 +09:00
Yuichi Nishiwaki f0434a8b37 abandon xvect.h, move on to kvec.h 2015-06-23 22:08:18 +09:00
Yuichi Nishiwaki e2ad39074b cleanup 2015-06-23 04:01:25 +09:00
Yuichi Nishiwaki 777ba0ff6a [bugfix] don't compare continuation objects by pointers. They may be
reused when it reenters the same stack position.
2015-06-23 03:14:00 +09:00
Yuichi Nishiwaki aae1b8792a remove struct pic_picjmp 2015-06-23 03:14:00 +09:00
Yuichi Nishiwaki 8932dbddd6 Merge pull request #272 from omasanori/r7rs-test
Move r7rs-tests.scm into a nitro.
2015-06-22 17:43:30 +09:00
Yuichi Nishiwaki aa79797334 fix #234 2015-06-22 17:41:17 +09:00
Yuichi Nishiwaki e730a314f4 [bugfix] memory leak of pic_checkpoint 2015-06-22 17:12:19 +09:00
OGINO Masanori b0e6f14442 Move r7rs-tests.scm into a nitro.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-22 11:07:56 +09:00
Yuichi Nishiwaki c8581b849f Merge pull request #219 from omasanori/socket
WIP: Add (picrin socket) and (srfi 106).
2015-06-20 15:50:48 +09:00
OGINO Masanori 7d880f6f00 Implement SRFI 106.
Reference: http://srfi.schemers.org/srfi-106/

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-06-20 08:14:58 +09:00
Yuichi Nishiwaki 500113d1bb renumber contribs 2015-06-20 03:42:56 +09:00
Yuichi Nishiwaki 6449731bf4 [bugfix] bin/picrin -e option broken 2015-06-20 02:35:13 +09:00
Yuichi Nishiwaki 9dbcb2a605 [bugfix] repl failed to import default libraries 2015-06-20 02:34:46 +09:00
Yuichi Nishiwaki a0323bd5fc print error irritants 2015-06-20 02:34:00 +09:00
Yuichi Nishiwaki 535cd0c21e don't reformat error message because it removes trace info 2015-06-20 02:32:25 +09:00
Yuichi Nishiwaki ad6833ac79 fix #230 2015-06-19 23:34:12 +09:00
Yuichi Nishiwaki 32653df178 cleanup 2015-06-19 21:21:04 +09:00
Yuichi Nishiwaki 7ec81ab1d5 add pic_resolve 2015-06-19 17:31:47 +09:00
Yuichi Nishiwaki 3021e7f2b9 add PIC_ENABLE_STDIO flag 2015-06-19 14:03:52 +09:00
Yuichi Nishiwaki 20cb77bbbe file.h is now stdio.h-free 2015-06-19 05:14:18 +09:00
Yuichi Nishiwaki a0d6c5800c add pic_open_file 2015-06-19 05:00:36 +09:00
Yuichi Nishiwaki fa3073892f Merge branch 'native-xfile-support' 2015-06-19 04:01:18 +09:00
Yuichi Nishiwaki cf037f27db remove library-name 2015-06-19 03:31:24 +09:00
Yuichi Nishiwaki 4bc765da65 move include of gc.h 2015-06-19 03:27:03 +09:00
Yuichi Nishiwaki 19c09ba643 move contents of util.h to compat.h 2015-06-19 03:23:07 +09:00
Yuichi Nishiwaki 10f81512d8 don't malloc pic_reader 2015-06-19 03:14:55 +09:00
Yuichi Nishiwaki db0767c931 don't malloc pic->iseq 2015-06-19 03:10:11 +09:00
Yuichi Nishiwaki 78bd3047f8 don't use global mutable variable! 2015-06-19 03:06:57 +09:00
Yuichi Nishiwaki e43a9c7881 pass pic_state object to vtable functions 2015-06-19 02:29:17 +09:00
Yuichi Nishiwaki 3df7d1dd71 use pic_malloc and pic_free in file.c 2015-06-19 02:05:56 +09:00
Yuichi Nishiwaki 2e59b6ab04 rename xfile.[ch] to file.[ch] 2015-06-19 01:11:04 +09:00
Yuichi Nishiwaki d1aa42cd7a [bugfix] double close should be safe 2015-06-19 01:04:04 +09:00
Yuichi Nishiwaki 9263891c4c Merge branch 'fix-port' 2015-06-19 00:46:30 +09:00