Commit Graph

70 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 6c3c505aa4 move simple macros to (picrin macro) 2017-04-04 02:16:18 +09:00
Yuichi Nishiwaki af5acb6c4f no consing when getting value from ephemeron table 2017-04-04 01:25:46 +09:00
Yuichi Nishiwaki d776adba34 add load&compile functions 2017-04-04 00:52:59 +09:00
Yuichi Nishiwaki bba2abffde WIP: precompile macros 2017-04-03 23:39:30 +09:00
Yuichi Nishiwaki 8f6113f61b library system is now implemeted in scheme 2017-04-03 00:37:37 +09:00
Yuichi Nishiwaki 690384c5b4 make-ephemeron -> make-ephemeron-table 2017-03-31 15:59:22 +09:00
Yuichi Nishiwaki fc7b9a50f9 implment dynamic-wind in scheme 2017-03-31 15:41:25 +09:00
Yuichi Nishiwaki b44d69b4da add value.h 2017-03-29 07:11:27 +09:00
Yuichi Nishiwaki 53ec7384ca add length argument to pic_str() 2017-03-28 23:31:15 +09:00
Yuichi Nishiwaki 9377999579 bin/picrin -> picrin 2017-03-22 23:59:22 +09:00
Yuichi Nishiwaki 2d90c1fb90 reimplement read-bytevector in scheme using read-bytevector! 2016-07-11 00:43:15 +09:00
Yuichi Nishiwaki 05cb5aec22 move u8-ready? to contrib 2016-07-10 23:36:32 +09:00
Yuichi Nishiwaki 9515060b00 rename I/O functions 2016-06-20 04:49:01 +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
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 fae7ef0376 pic_errorf -> pic_error 2016-02-23 04:03:42 +09:00
Yuichi Nishiwaki 229555fa83 remove pic_error 2016-02-23 02:23:22 +09:00
Yuichi Nishiwaki 2246cc42d9 integrate mutable-string.c into the core 2016-02-21 01:04:55 +09:00
Yuichi Nishiwaki 53b760cfac add picrin/extra.h 2016-02-21 00:58:58 +09:00
Yuichi Nishiwaki fcb3182e08 publish xfile API 2016-02-20 18:34:13 +09:00
Yuichi Nishiwaki d851273f60 struct pic_port * -> pic_value 2016-02-20 16:51:24 +09:00
Yuichi Nishiwaki 2d5fbc889e struct pic_string * -> pic_value 2016-02-20 03:26:52 +09:00
Yuichi Nishiwaki 4d38e08c98 pic_gc_arena_preserve -> pic_enter 2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki 84c2866b2b cleanup port API 2016-02-19 05:54:50 +09:00
Yuichi Nishiwaki 8ec052c09f reimplement string-io procedures in scheme 2016-02-19 03:58:09 +09:00
Yuichi Nishiwaki bb2f9c0367 don't distinguish textual and binary ports 2016-02-19 03:03:29 +09:00
Yuichi Nishiwaki 00e98548d7 remove pair.h 2016-02-19 02:29:40 +09:00
Yuichi Nishiwaki 9ae6f0cbe9 remove error.h 2016-02-19 01:34:13 +09:00
Yuichi Nishiwaki cfc32a1b15 remove string.h 2016-02-19 00:14:50 +09:00
Yuichi Nishiwaki ada84f48d6 add some object constructors/destructors 2016-02-18 23:49:16 +09:00
Yuichi Nishiwaki 08652df612 don't include type.h at the beginning of picrin.h 2016-02-18 23:35:55 +09:00
Yuichi Nishiwaki 615bdff61a add pic_state parameter (to be used by copy gc) 2016-02-18 20:15:42 +09:00
Yuichi Nishiwaki 561c350a12 library is now a non-first-class object 2016-02-18 17:39:32 +09:00
Yuichi Nishiwaki 95740b86a0 remove libraries procedure 2016-02-18 16:29:13 +09:00
Yuichi Nishiwaki 8610f5090d change the behavior of pic_deflibrary
fix regression
2016-02-15 13:28:13 +09:00
Yuichi Nishiwaki a92e70a610 remove typedefs of struct pic_string and struct pic_blob 2016-02-15 00:20:49 +09:00
Yuichi Nishiwaki 271a4b6586 make-register -> make-ephemeron 2016-02-10 21:57:20 +09:00
Yuichi Nishiwaki 205ca79626 remove pic->argc/argv/envp 2016-02-10 01:38:05 +09:00
Doug Currie 21fc081e41 Merge upstream master into record-vector-optimization 2016-02-08 11:52:01 -05:00
Yuichi Nishiwaki c7f8293368 add pic_intern_(str|cstr|lit) 2016-02-08 04:10:22 +09:00
Yuichi Nishiwaki 3e4abf8949 optimize string construction from literal 2016-02-08 02:33:22 +09:00
Yuichi Nishiwaki ed14348c08 bugfixes 2016-02-07 04:54:55 +09:00
Yuichi Nishiwaki 7a128aab3b fix #314 2016-02-07 04:23:46 +09:00
Yuichi Nishiwaki cc75877a76 simplify struct pic_record 2016-02-07 02:58:18 +09:00
Yuichi Nishiwaki e51d3db812 symbol is an identifier 2016-02-06 23:15:53 +09:00
Doug Currie 9b7e0cf019 Optimize records to use vector rather than a dict for field storage. 2016-01-15 23:04:51 -05:00
Yuichi Nishiwaki 6f3083c3ca never use size_t 2015-08-26 19:04:27 +09:00
Yuichi Nishiwaki b96846dc6e don't use @@type property 2015-08-11 01:34:45 +09:00