Commit Graph

145 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 261580309e clean up 2015-08-05 08:50:24 +09:00
Yuichi Nishiwaki 1a71f3f578 move regs field from pic_state to pic_heap 2015-07-26 16:48:38 +09:00
Yuichi Nishiwaki da0c9d2594 cleanup 2015-07-23 17:10:53 +09:00
Yuichi Nishiwaki fae4e28396 shrink union header size 2015-07-23 17:10:53 +09:00
Yuichi Nishiwaki 569b14d684 cosmetic changes 2015-07-20 15:18:12 +09:00
Yuichi Nishiwaki 7db74c4b7a rewrite gc.c with union object 2015-07-20 15:02:16 +09:00
Yuichi Nishiwaki e6c35764dd TCO for gc_mark_object 2015-07-20 14:24:58 +09:00
Yuichi Nishiwaki 7dc26dd674 don't use PIC_VTYPE_FOO constants outside type.h 2015-07-20 14:07:24 +09:00
Yuichi Nishiwaki f5b07cacd2 remove alignment field 2015-07-20 13:51:37 +09:00
Yuichi Nishiwaki 1258b8bff3 cosmetic chagnes 2015-07-20 13:51:37 +09:00
Yuichi Nishiwaki c2754509f2 remove PIC_ENABLE_FLOAT flag 2015-07-20 02:19:41 +09:00
Yuichi Nishiwaki 22e85c159e cosmetic changes 2015-07-16 18:44:23 +09:00
Yuichi Nishiwaki 6fdd5ef05d [bugfix] don't melt base header into *backword* free chunk as well. 2015-07-16 17:11:55 +09:00
Yuichi Nishiwaki 6b50ebba2b early morecore request 2015-07-16 16:34:59 +09:00
Yuichi Nishiwaki d43db5e9c8 [bugfix] change block layout in page 2015-07-16 16:13:30 +09:00
Yuichi Nishiwaki a58ebe91a8 cosmetic changes 2015-07-16 15:53:18 +09:00
Yuichi Nishiwaki 6d43b31a68 remove unnecessary prototype 2015-07-16 15:44:06 +09:00
Yuichi Nishiwaki b4f8d929ec don't cache freep 2015-07-16 15:42:44 +09:00
Yuichi Nishiwaki 0fc2a8e273 change heap_free prototype 2015-07-16 15:41:43 +09:00
Yuichi Nishiwaki 30efc25633 gc_alloc no longer takes care of mark property 2015-07-16 15:38:37 +09:00
Yuichi Nishiwaki 75d22404cb cleanup 2015-07-16 15:33:31 +09:00
Yuichi Nishiwaki 7b8c6df7bc don't need to clear out pages 2015-07-16 15:31:11 +09:00
Yuichi Nishiwaki 1c77115c56 [bugfix] memory leak 2015-07-16 15:28:30 +09:00
Yuichi Nishiwaki 46e3665970 inline heap_init 2015-07-15 23:32:31 +09:00
Yuichi Nishiwaki f9cfbba331 unalloced region may have any mark state 2015-07-15 23:30:49 +09:00
Yuichi Nishiwaki 13f16e3e09 Revert "remove unused guard"
This reverts commit ea90800e56.
2015-07-15 23:28:45 +09:00
Yuichi Nishiwaki ea90800e56 remove unused guard 2015-07-15 23:25:57 +09:00
Yuichi Nishiwaki f8ceef96d0 remove debug codes 2015-07-15 23:25:39 +09:00
Yuichi Nishiwaki 5c5066bfa0 Revert "add box type"
This reverts commit d53f0cf9e4.
2015-07-13 08:24:06 +09:00
Yuichi Nishiwaki 1e104921eb cache gref slot 2015-07-07 14:42:50 +09:00
Yuichi Nishiwaki d53f0cf9e4 add box type 2015-07-06 21:32:42 +09:00
Yuichi Nishiwaki acc1852400 remove unused symbols 2015-07-06 19:14:18 +09:00
Yuichi Nishiwaki 9e04a80636 add OP_GT and OP_GE 2015-07-06 19:13:00 +09:00
Yuichi Nishiwaki f210efd066 [bugfix] (set! symbol? list) doesn't work 2015-07-04 18:48:48 +09:00
Yuichi Nishiwaki 4905aab416 remove pic->file and pic->read 2015-07-02 08:50:28 +09:00
Yuichi Nishiwaki f9df81f046 remove unused symbols 2015-07-02 05:36:09 +09:00
Yuichi Nishiwaki ddcf96f689 remove pic_proc_name (for a moment) 2015-06-27 19:02:18 +09:00
Yuichi Nishiwaki d8e00f5725 don't malloc duplicated cstring 2015-06-26 02:32:59 +09:00
Yuichi Nishiwaki 5cbb44d6b8 use khash for env 2015-06-25 07:26:48 +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 5cf1822813 use khash for dictionary impl 2015-06-25 05:56:15 +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 aae1b8792a remove struct pic_picjmp 2015-06-23 03:14:00 +09:00
Yuichi Nishiwaki e730a314f4 [bugfix] memory leak of pic_checkpoint 2015-06-22 17:12:19 +09:00
Yuichi Nishiwaki 61ff69b968 remove pic->xSTDXX 2015-06-18 22:59:22 +09:00
Yuichi Nishiwaki 85e8d1511b remove defer property from pic_env
explicitly pass deferred lambda list to expand functions
2015-06-16 20:57:18 +09:00
Yuichi Nishiwaki 181d120f09 reader support of (#' #` #, #,@) 2015-06-15 02:52:37 +09:00
Yuichi Nishiwaki 3a59a95960 [WIP] replace macro expander
remove define-syntax, add define-macro instead

saner display when writing identifiers
2015-06-15 02:48:31 +09:00
Yuichi Nishiwaki 454146ab52 s/rXXX/uXXX/g 2015-06-15 02:30:05 +09:00
Yuichi Nishiwaki 191d3067f8 Revert "Revert "remove in-library""
This reverts commit 77d3b0b41e.
2015-06-09 23:02:06 +09:00
Yuichi Nishiwaki 6af60c9e2b don't use static non-const local variable 2015-06-09 19:19:27 +09:00
Yuichi Nishiwaki 111779c39e add pic_reg 2015-06-09 18:31:46 +09:00
Yuichi Nishiwaki 2c9a19acf5 introduce pic_invalid_value 2015-06-09 16:02:23 +09:00
Yuichi Nishiwaki 53a9e72413 optimize var implementation 2015-06-08 22:28:17 +09:00
Yuichi Nishiwaki 5def1df320 s/pic_winder/pic_checkpoint/g 2015-06-08 21:04:04 +09:00
Yuichi Nishiwaki 77d3b0b41e Revert "remove in-library"
This reverts commit 8604e18719.
2015-06-06 13:48:31 +09:00
Yuichi Nishiwaki 8604e18719 remove in-library 2015-06-04 14:17:37 +09:00
Yuichi Nishiwaki 531187bb2a speed up bytecode compilation 2015-06-04 13:53:41 +09:00
Yuichi Nishiwaki fc957da920 add 'env' property to struct pic_proc
Using attribute to make closure from c function is unsafe because closed
variables are visible from the scheme world. Use env property instead
from now.
2015-06-02 06:53:16 +09:00
Yuichi Nishiwaki ce0c737c95 cleanup 2015-06-02 06:53:16 +09:00
Yuichi Nishiwaki 88092044d7 shrink pic_proc size 2015-06-02 06:53:16 +09:00
Yuichi Nishiwaki 599d8f5980 pic_senv -> pic_env 2015-05-30 22:39:03 +09:00
Yuichi Nishiwaki d0e10b49a7 pic_env -> pic_context 2015-05-30 22:34:51 +09:00
Yuichi Nishiwaki 9b7eb2f996 unify all headers into picrin.h 2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki e30f1a11dc more strict unused variable check 2015-05-28 17:06:41 +09:00
Yuichi Nishiwaki 6a692541a6 s/pic_alloc/pic_malloc/g 2015-05-28 16:42:16 +09:00
Yuichi Nishiwaki 278075910a custom allocator and custom abort 2015-05-28 02:12:26 +09:00
Yuichi Nishiwaki 7dcd050e1a add PIC_ENABLE_FLOAT and PIC_WORD_BOXING 2015-05-28 01:48:38 +09:00
Yuichi Nishiwaki 15449354c6 switch string implementation to picrin's 2015-05-27 23:34:40 +09:00
Yuichi Nishiwaki 2bfb6876eb don't use bit field 2015-05-27 22:49:29 +09:00
Yuichi Nishiwaki f7d506cd35 xvect.h is now based on kvec.h 2015-01-25 20:44:36 +09:00
Yuichi Nishiwaki 42cc5042f3 use pic_alloc/pic_free in initializing struct pic_heap 2015-01-22 17:08:41 +09:00
Yuichi Nishiwaki 8c67ad863b stop using trie tree-based reader table 2015-01-22 16:53:11 +09:00
Yuichi Nishiwaki 06c998e0b2 add symbol gc 2015-01-20 17:50:31 +09:00
Yuichi Nishiwaki 6e6e1de7a5 pic_sym is not a pointer 2015-01-20 16:02:28 +09:00
Yuichi Nishiwaki c5f711ddd6 [bugfix] irep->name is missed to mark 2015-01-20 02:51:51 +09:00
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 ffa27e4b11 s/SYMBOL_P/SYMBOLP/g, s/PAIR_P/PAIRP/g 2015-01-19 14:37:46 +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 fc654dd280 heap symbol seems working (with GC stopped) 2015-01-19 11:00:23 +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 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 4cc423d815 gather all includes of standard headers into picrin.h 2015-01-18 00:17:37 +09:00
Yuichi Nishiwaki 6968c85282 revert 48f0ec90. dicitonary is now symbol-to-object structure 2015-01-17 21:03:08 +09:00
Yuichi Nishiwaki 2652d9724d Merge commit '536d59c7d4799208aed63309556d86bb92521470' 2015-01-17 18:36:23 +09:00
Yuichi Nishiwaki 9303fcf34b safer names for utility macros 2015-01-07 13:11:48 -08: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