Commit Graph

1195 Commits

Author SHA1 Message Date
Yuichi Nishiwaki a8aa6b2c5e add some string utility functions 2014-02-21 18:24:20 +09:00
Yuichi Nishiwaki 131440b1d0 s/struct pic_string/pic_str/g 2014-02-21 18:05:59 +09:00
Yuichi Nishiwaki ca4276afc7 add type aliases for some important types 2014-02-21 17:36:05 +09:00
Yuichi Nishiwaki c28c45961b rename pic_symbol_value to pic_sym_value 2014-02-21 17:35:21 +09:00
Yuichi Nishiwaki b18e348b37 update xfile 2014-02-21 02:21:33 +09:00
Yuichi Nishiwaki ca5bdb35e8 update xfile again 2014-02-21 01:38:02 +09:00
Yuichi Nishiwaki 49857ad56a update xfile 2014-02-21 01:31:21 +09:00
Yuichi Nishiwaki 8f5569d505 xstdout now handles its own buffer. flush prompts before printing result expression. 2014-02-21 01:28:38 +09:00
Yuichi Nishiwaki b1ae0cb14d update xfile 2014-02-21 01:25:57 +09:00
Yuichi Nishiwaki 80a794310d call/cc must save pic->ip 2014-02-20 20:59:35 +09:00
Yuichi Nishiwaki 078b72ff17 cleanup 2014-02-20 20:44:30 +09:00
Yuichi Nishiwaki 19f426a4f4 [bugfix] segv on pic_receive 2014-02-20 18:57:01 +09:00
Yuichi Nishiwaki 1d7e46fbdf Merge branch 'native-mv'. fix #16 2014-02-20 18:42:13 +09:00
Yuichi Nishiwaki 7c5d337119 support call-with-values in VM level 2014-02-20 18:38:09 +09:00
Yuichi Nishiwaki 942e053cde compile values in tail position 2014-02-20 18:00:30 +09:00
Yuichi Nishiwaki 742be0b2c0 don't reset retc in pic_receive 2014-02-20 18:00:16 +09:00
Yuichi Nishiwaki acc3afc120 don't emit debug message into stderr 2014-02-20 17:58:00 +09:00
Yuichi Nishiwaki 85a766a242 adjust stack pointer to the next to the initial position after calling function 2014-02-20 17:41:59 +09:00
Yuichi Nishiwaki 213177eb10 reset ci->retc when pic_receive is called 2014-02-20 17:19:40 +09:00
Yuichi Nishiwaki bad8daa813 ci->retc is set to 1 by default 2014-02-20 17:19:28 +09:00
Yuichi Nishiwaki c9331fb59e [refactor] proceed return values from C functions in OP_RET block 2014-02-20 17:14:58 +09:00
Yuichi Nishiwaki 29b2d84268 show invalid application callee 2014-02-20 17:10:55 +09:00
Yuichi Nishiwaki 2d0faff732 VM end state shows info based on the position the VM entered 2014-02-20 17:09:55 +09:00
Yuichi Nishiwaki 82647584e8 [bugfix] handle 1-coarity native function 2014-02-20 16:50:14 +09:00
Yuichi Nishiwaki 7217baee0a add coarity register to the VM 2014-02-20 16:33:18 +09:00
Yuichi Nishiwaki 0f75a1b7cb let OP_RET take an argument 2014-02-20 16:01:29 +09:00
Yuichi Nishiwaki 16639a1764 fix #56. thank you @justinethier 2014-02-20 11:58:27 +09:00
Yuichi Nishiwaki fc2fc04886 Merge branch 'master' of github.com:wasabiz/picrin 2014-02-20 11:42:47 +09:00
Yuichi Nishiwaki 06acd0248a update readme 2014-02-20 11:39:12 +09:00
Yuichi Nishiwaki e5de9ad1fc Merge pull request #55 from stibear/scheme-lazy
implemented (scheme lazy)
2014-02-19 02:45:49 +09:00
Yuichi Nishiwaki d718490a03 (finally!) hunt the bug. no more segv on error in repl 2014-02-19 02:24:30 +09:00
Yuichi Nishiwaki b69b549fca delegate error handling to REPL when no exception handlers remain 2014-02-19 02:22:34 +09:00
stibear cb1414dfa6 implemented (scheme lazy) 2014-02-19 02:18:21 +09:00
Yuichi Nishiwaki 6e3a2b176a split error and raise 2014-02-19 02:11:29 +09:00
Yuichi Nishiwaki 54c0ded876 move (picrin record) to the head of file 2014-02-19 02:01:02 +09:00
Yuichi Nishiwaki ca8a1f3bf7 export define-record-type from (scheme base) 2014-02-19 01:59:37 +09:00
Yuichi Nishiwaki 9e6612c0cb s/(scheme record)/(picrin record)/g 2014-02-19 01:59:22 +09:00
Yuichi Nishiwaki f17f2f3a77 comment out eval redefinition 2014-02-19 01:59:05 +09:00
Yuichi Nishiwaki a1a0aff657 newlines are included in block comments 2014-02-19 01:58:40 +09:00
Yuichi Nishiwaki a5f5eb3b06 skip block comments 2014-02-19 01:53:47 +09:00
Yuichi Nishiwaki 0b1438a9da cleanup 2014-02-19 01:41:35 +09:00
Yuichi Nishiwaki a87ba81746 Merge pull request #49 from stibear/scheme-record
implemented scheme-record
2014-02-19 01:37:01 +09:00
stibear 487b99d2e5 implemented scheme-record 2014-02-19 01:22:54 +09:00
Yuichi Nishiwaki 844f25b5c1 [workaround] traverse_seq is broken, use traverse_shared instead 2014-02-19 01:15:30 +09:00
Yuichi Nishiwaki d5e27e0949 add char-ready? 2014-02-18 19:20:29 +09:00
Yuichi Nishiwaki b8b5ba7fe7 update xfile 2014-02-18 19:18:09 +09:00
Yuichi Nishiwaki cc97f857e1 add read-line 2014-02-18 18:56:14 +09:00
Yuichi Nishiwaki 64e98d3e9b remove old exports 2014-02-18 17:30:11 +09:00
Yuichi Nishiwaki e19ba4b6a8 update readme. add support for block comments 2014-02-18 17:24:45 +09:00
Yuichi Nishiwaki 17ae669b30 support nested comments 2014-02-18 17:24:08 +09:00