Commit Graph

576 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 7964c4f5bb mark only interned symbols and some specisl uninterned symbols 2015-01-19 14:41:27 +09:00
Yuichi Nishiwaki b9df96499d move symbol constants to pic_state 2015-01-19 14:37:47 +09:00
Yuichi Nishiwaki 772a5ceae5 [bugfix] pic_intern must count up reference of the return value 2015-01-19 14:37:47 +09:00
Yuichi Nishiwaki 44ff702e60 rename internal object 2015-01-19 14:37:46 +09:00
Yuichi Nishiwaki ffa27e4b11 s/SYMBOL_P/SYMBOLP/g, s/PAIR_P/PAIRP/g 2015-01-19 14:37:46 +09:00
Yuichi Nishiwaki ce3cf1741d improve error message 2015-01-19 14:37:46 +09:00
Yuichi Nishiwaki 3b3032ee55 don't malloc in pic_interned_p 2015-01-19 13:12:04 +09:00
Yuichi Nishiwaki ca69048513 turn on GC 2015-01-19 12:14:46 +09:00
Yuichi Nishiwaki ccc7a2beed add gc on/off flag 2015-01-19 12:14:29 +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 f349e4148e remove pic_symbol_value 2015-01-19 11:02:22 +09:00
Yuichi Nishiwaki fc654dd280 heap symbol seems working (with GC stopped) 2015-01-19 11:00:23 +09:00
Yuichi Nishiwaki 4be979b1df change pic_intern interface 2015-01-19 02:21:10 +09:00
Yuichi Nishiwaki 09cb576a3b remove pic_ungensym 2015-01-19 01:55:39 +09:00
Yuichi Nishiwaki 1b510e982e add irep->syms 2015-01-19 01:29:00 +09:00
Yuichi Nishiwaki cabae2767b use dictionary for senv->map 2015-01-18 21:58:40 +09:00
Yuichi Nishiwaki c1bba1ec83 use dictionaries for temporary import table 2015-01-18 21:55:17 +09:00
Yuichi Nishiwaki 14a93ccf0f use dictionary for rec->data 2015-01-18 21:40:14 +09:00
Yuichi Nishiwaki c86e97094d use dictionary for lib->exports 2015-01-18 21:35:57 +09:00
Yuichi Nishiwaki 9209722a5b use dictionaries for pic->globals and pic->macros 2015-01-18 21:25:34 +09:00
Yuichi Nishiwaki a3db19c1bf remove 'struct pic_macro'. define-syntax spec is changed. 2015-01-18 15:49:28 +09:00
Yuichi Nishiwaki f2eb51e53d some procedures are moved to contrib/
system related procedures are moved to contrib/

file related procedures are moved to contrib/

load related procedures are moved to conrib/
2015-01-18 01:03:29 +09:00
Yuichi Nishiwaki 4cc423d815 gather all includes of standard headers into picrin.h 2015-01-18 00:17:37 +09:00
Yuichi Nishiwaki cbed7c4ba5 add dictionary-map and dictionary-for-each 2015-01-17 23:26:35 +09:00
Yuichi Nishiwaki 6968c85282 revert 48f0ec90. dicitonary is now symbol-to-object structure 2015-01-17 21:03:08 +09:00
Yuichi Nishiwaki 3e9da6d3e3 [prepare] dictionary is to be changed to have only symbols for its keys 2015-01-17 21:01:13 +09:00
Yuichi Nishiwaki 2652d9724d Merge commit '536d59c7d4799208aed63309556d86bb92521470' 2015-01-17 18:36:23 +09:00
Yuichi Nishiwaki 506595a559 Merge pull request #233 from KeenS/restore-config
restore tuned config
2015-01-12 20:56:19 +09:00
Sunrin SHIMURA (keen) 51acf8ac54 optimize `equal?`. Don't initialize xhash until it is really needed.
`make test-r7rs` gets 12s -> 9.5s, in which `equal?` is heavilly used.
2015-01-12 11:40:33 +00:00
Yuichi Nishiwaki 9303fcf34b safer names for utility macros 2015-01-07 13:11:48 -08:00
Sunrin SHIMURA (keen) 6f1b54f4f3 Merge commit '2440372c16fd1e479ad8aa346f6006dbf795a74c' into restore-config 2015-01-04 04:59:42 +00: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
Sunrin SHIMURA (keen) 3c3d9f4c27 rm benz subtree 2015-01-03 06:31:15 +00:00
Sunrim KIM (keen) 221f3bdebd add regression test against benz/#55 2014-11-09 17:09:06 +09:00
Sunrim KIM (keen) 7c9d12769e Revert "update betz (to implement pickle) and add its test"
This reverts commit ae450b95b9.
2014-10-29 17:34:12 +09:00
Sunrim KIM (keen) ae450b95b9 update betz (to implement pickle) and add its test 2014-10-04 06:00:03 +09:00
Yuichi Nishiwaki fc873c5559 update benz (suppress more warnings) 2014-09-27 08:30:57 -07:00
Yuichi Nishiwaki c4c87abe1a update benz (remove type-punning) 2014-09-27 08:20:56 -07:00
Yuichi Nishiwaki b7fca32f61 update benz (improve compliance) 2014-09-27 21:32:10 +09:00
Yuichi Nishiwaki 7fddb356d3 update benz 2014-09-26 16:34:49 +09:00
Yuichi Nishiwaki 9d694ac5ae generalized attribute 2014-09-25 19:12:56 +09:00
Yuichi Nishiwaki cc45ffadc3 update benz. pic_try was broken 2014-09-24 20:39:22 +09:00
Yuichi Nishiwaki cc502cadef remove dictoinary-for-each and dictionary-map 2014-09-21 16:28:01 +09:00
Yuichi Nishiwaki 6556a2ec1d spill out mutable-string nitro 2014-09-21 15:34:14 +09:00
Yuichi Nishiwaki 38a1f92abd add callcc nitro. 2014-09-20 20:31:42 +09:00
Yuichi Nishiwaki 8f7a0d9e45 update benz 2014-09-20 11:50:07 +09:00
Yuichi Nishiwaki 9b226afd1f move {vector,string}-{map,for-each} 2014-09-19 18:21:28 +09:00
Yuichi Nishiwaki d8cbcde157 improve error handling mechanism 2014-09-19 17:15:27 +09:00
Yuichi Nishiwaki f0ed3b655a custom marker 2014-09-17 13:00:51 +09:00
Yuichi Nishiwaki 6fdf082bdd update benz (exception API refactoring) 2014-09-17 00:51:01 +09:00
Yuichi Nishiwaki 1388887754 update benz (ordered map) 2014-09-16 22:41:33 +09:00
Yuichi Nishiwaki 8d7f63d71e update benz (funcall API change) 2014-09-16 16:47:04 +09:00
Yuichi Nishiwaki 1e29ad51a0 update benz. (parameterize, object dictionary) 2014-09-15 16:00:19 +09:00
Yuichi Nishiwaki b9707debaf update benz 2014-09-13 18:55:16 +09:00
Yuichi Nishiwaki c82c23b93d dictionary-delete -> dictionary-delete! 2014-09-13 16:54:41 +09:00
Yuichi Nishiwaki ecdc6ffd66 update benz (dictionary-api) 2014-09-13 16:52:42 +09:00
Yuichi Nishiwaki 22a04a59a2 update benz (conversion functions) 2014-09-12 21:21:29 +09:00
Yuichi Nishiwaki b84004770a update benz (new->make) 2014-09-12 20:02:41 +09:00
Yuichi Nishiwaki 8117a95b0d update benz. define `include' in scheme/base.scm 2014-09-12 18:54:12 +09:00
Yuichi Nishiwaki 96609de180 string conversion functions 2014-09-10 20:10:09 +09:00
Yuichi Nishiwaki 65a1b0f5af update benz (features) 2014-09-10 18:37:08 +09:00
Yuichi Nishiwaki 0dbf238f83 update benz (call-with-port) 2014-09-10 17:43:19 +09:00
Yuichi Nishiwaki 9f5a1512b5 char comparators moved to benz core 2014-09-10 17:18:41 +09:00
Yuichi Nishiwaki e5d47de3b0 update benz. support inter-referntial definitions 2014-09-10 15:27:46 +09:00
Yuichi Nishiwaki bd68a94af5 update benz 2014-09-10 03:09:41 +09:00
Yuichi Nishiwaki 4be04205ae update benz 2014-09-10 02:10:41 +09:00
Yuichi Nishiwaki a871f1b89d update benz (xfile) 2014-09-09 14:47:16 +09:00
Yuichi Nishiwaki 64d7861bf3 bytevector-copy is missed. added port-open?c 2014-09-09 02:14:48 +09:00
Yuichi Nishiwaki 6020e2e71d update benz (bugs in define-values) 2014-09-09 01:48:12 +09:00
Yuichi Nishiwaki 9ab446ab92 support strings 2014-09-09 01:28:08 +09:00
Yuichi Nishiwaki 27322a3c80 update benz (_ and ...) 2014-09-09 00:59:12 +09:00
Yuichi Nishiwaki 0c6ffa3e7b update benz (pic_open) 2014-09-09 00:09:31 +09:00
Yuichi Nishiwaki 230c87d455 update benz (boot.c) 2014-09-08 23:55:47 +09:00
Yuichi Nishiwaki 1ac0ccb05e change dictionary interface 2014-09-08 20:49:28 +09:00
Yuichi Nishiwaki 8b9a3f513a update benz 2014-09-08 20:45:34 +09:00
Yuichi Nishiwaki 3919c17fdc WIP 2014-09-08 20:20:08 +09:00
Yuichi Nishiwaki c15999cc76 update benz 2014-09-08 17:08:38 +09:00
Yuichi Nishiwaki 42ddd5793e update benz 2014-09-04 18:43:53 +09:00
Yuichi Nishiwaki 758c607046 delete old submodules 2014-09-01 09:11:45 +09:00
Yuichi Nishiwaki 4ff302bfcf add benz submodule 2014-09-01 09:08:48 +09:00
Yuichi Nishiwaki 055a288199 update xhash 2014-08-01 18:48:02 +09:00
Sunrim KIM on Raspberry Pi 704b896ba8 update xfile 2014-07-27 18:20:12 +09:00
Yuichi Nishiwaki 4501b9bd93 update xrope 2014-06-27 17:35:00 +09:00
Yuichi Nishiwaki 3f2a0d2160 update xfile 2014-06-25 21:41:57 +09:00
Yuichi Nishiwaki 72db056f1e update xfile 2014-06-25 17:24:33 +09:00
Yuichi Nishiwaki 08f0fbd3d3 [experimental] update xfile 2014-06-25 16:10:08 +09:00
Yuichi Nishiwaki da553b9001 primary symbol to object hashtable support (dictionary) 2014-06-14 22:17:57 +09:00
Yuichi Nishiwaki f9e733a7b1 update xhash 2014-06-14 20:59:31 +09:00
Yuichi Nishiwaki cbcbd9e6c4 update xfile. close #80. 2014-04-01 00:34:07 +09:00
Yuichi Nishiwaki 7bac84afec update xhash 2014-03-25 15:29:09 +09:00
Yuichi Nishiwaki cfde253f26 split xvect module 2014-03-20 23:09:45 +09:00
Yuichi Nishiwaki 07cdd24fe1 update xrope 2014-03-06 22:19:35 +09:00
Yuichi Nishiwaki b0787f40c3 update xrope 2014-03-02 19:24:58 +09:00
Yuichi Nishiwaki d427e06831 update xrope 2014-02-27 19:41:47 +09:00
Yuichi Nishiwaki 62670addb5 add xrope 2014-02-27 19:18:19 +09:00
Yuichi Nishiwaki bb93a8be14 catch up to XFILE changes 2014-02-25 21:07:32 +09:00
Yuichi Nishiwaki c2ed86751b update xhash 2014-02-25 21:04:47 +09:00
Yuichi Nishiwaki 5f427374d3 update xhash 2014-02-24 16:07:13 +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 b1ae0cb14d update xfile 2014-02-21 01:25:57 +09:00
Yuichi Nishiwaki b8b5ba7fe7 update xfile 2014-02-18 19:18:09 +09:00
Yuichi Nishiwaki e9ec125b0c update xhash 2014-02-18 04:16:40 +09:00
Yuichi Nishiwaki 37acda07cd update xhash 2014-02-12 11:36:20 +09:00
Yuichi Nishiwaki 89b2f7bbab update xfile 2014-02-09 00:13:24 +09:00
Yuichi Nishiwaki 383026a64e update xfile 2014-02-08 22:30:37 +09:00
Yuichi Nishiwaki 812e595472 update submodule 2014-02-08 17:07:52 +09:00
Yuichi Nishiwaki 0ecdb5a260 update submodule 2014-02-06 22:12:22 +09:00
Yuichi Nishiwaki d6216c54ea update submodule 2014-02-06 21:41:34 +09:00
Yuichi Nishiwaki 44319f8b69 update submodule again 2014-02-06 14:26:39 +09:00
Yuichi Nishiwaki ae12ecb2e0 update submodule 2014-02-06 13:00:42 +09:00
Yuichi Nishiwaki 0fda7e65ad update submodule 2014-02-02 11:09:53 +09:00
Yuichi Nishiwaki 3c426d8038 add xfile as a submodule 2014-02-01 22:15:23 +09:00
Yuichi Nishiwaki 208fa63699 update submodule 2014-02-01 20:00:53 +09:00
Yuichi Nishiwaki bfcf2d29e9 update submodule 2014-01-30 21:50:01 +09:00
Yuichi Nishiwaki 7d4ed6c018 update submodule 2014-01-30 14:32:52 +09:00
Yuichi Nishiwaki 3c3cec95bb update submodule 2014-01-12 19:52:35 +09:00
Yuichi Nishiwaki 60337bac0e update submodules 2013-12-07 09:14:00 -08:00
Yuichi Nishiwaki 43dccb30a4 move xhash to another repo 2013-12-04 15:20:05 +09:00
Yuichi Nishiwaki ce3e2b939c [xhash] cleanpu 2013-11-26 08:23:58 -08:00
Yuichi Nishiwaki bfa8b84b0e [xhash] use strdup if possible 2013-11-26 08:23:45 -08:00
Yuichi Nishiwaki 05f1b4551d fix a memory bug in xhash 2013-10-23 20:09:06 +09:00
Yuichi Nishiwaki 43e1d5b3df [xhash] fix a bug in xh_destroy 2013-10-23 15:46:37 +09:00
Yuichi Nishiwaki dd3adf30e6 use xhash to manage scopes during codegin 2013-10-22 22:22:35 +09:00