Commit Graph

3614 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 187c905861 change prototype of pic_make_cont 2017-04-20 13:28:15 -07:00
Yuichi Nishiwaki ce80a2dfdf add cxt.ai 2017-04-20 13:22:28 -07:00
Yuichi Nishiwaki 8c234d7548 properly reset pic->ai 2017-04-19 14:00:02 +09:00
Yuichi Nishiwaki 0996763e3b bugfix: forgot to insert parentheses 2017-04-16 13:05:49 +09:00
Yuichi Nishiwaki f4de6ee57e pic->cxt->ai -> pic->ai 2017-04-16 05:20:55 +09:00
Yuichi Nishiwaki 22d0a334ff remove unused parameters 2017-04-16 02:54:23 +09:00
Yuichi Nishiwaki a5ee9f7661 bugfix: all target not executed when no cmd args given 2017-04-15 18:53:25 +09:00
Yuichi Nishiwaki 3981329276 remove PIC_ABORT 2017-04-15 18:47:54 +09:00
Yuichi Nishiwaki dc2ec60d30 bugfix: pic_abort_try 2017-04-15 18:22:57 +09:00
Yuichi Nishiwaki d4cb9e58d9 restart of continuation should restore dynamic environment 2017-04-15 18:22:26 +09:00
Yuichi Nishiwaki 1adcd26d85 load library.scm before contribs 2017-04-15 16:24:25 +09:00
Yuichi Nishiwaki 69ab7e4970 cleanup 2017-04-15 04:12:26 +09:00
Yuichi Nishiwaki ac0adda263 update Makefile 2017-04-15 03:35:18 +09:00
Yuichi Nishiwaki b89de785ee make default-environment a zero-ary procedure 2017-04-15 02:56:31 +09:00
Yuichi Nishiwaki dfe8e87e65 cleanup 2017-04-15 02:48:20 +09:00
Yuichi Nishiwaki af6a756edd add file ops 2017-04-15 02:13:39 +09:00
Yuichi Nishiwaki 55b7e63985 add PIC_USE_CALLCC flag 2017-04-15 01:53:43 +09:00
Yuichi Nishiwaki 70e2a8cbba add PIC_USE_FILE and PIC_USE_READ flags 2017-04-15 01:06:33 +09:00
Yuichi Nishiwaki 4e4360a0e8 cleanup 2017-04-15 00:23:13 +09:00
Yuichi Nishiwaki 342ed57507 add mini-picrin 2017-04-14 23:58:02 +09:00
Yuichi Nishiwaki d99c460451 bootstrap 2017-04-14 23:40:07 +09:00
Yuichi Nishiwaki 70600fec3e compile to new vm 2017-04-14 23:06:53 +09:00
Yuichi Nishiwaki 6968a9d9ef fix compiler 2017-04-14 20:28:22 +09:00
Yuichi Nishiwaki 9cc40bd46a support top-level begin in define-library 2017-04-12 14:17:52 +09:00
Yuichi Nishiwaki cf63d541a2 diet object size 2017-04-12 13:55:51 +09:00
Yuichi Nishiwaki 5436102a3e fix alignment issues 2017-04-12 13:35:50 +09:00
Yuichi Nishiwaki 03067f5ab5 cleanup 2017-04-12 13:23:32 +09:00
Yuichi Nishiwaki 619a014adf calculate object size from type 2017-04-12 13:18:06 +09:00
Yuichi Nishiwaki 8d886db1db avoid variable-length field 2017-04-12 13:09:21 +09:00
Yuichi Nishiwaki 1063c45105 temporarily remove bitmap gc 2017-04-12 02:54:03 +09:00
Yuichi Nishiwaki 972e9eecc1 remove unused api 2017-04-09 23:58:17 +09:00
Yuichi Nishiwaki 01c817799b move pic_printf family to port.c 2017-04-09 23:39:24 +09:00
Yuichi Nishiwaki 8592802afc move pic_fopen to ext/file.c 2017-04-09 22:14:04 +09:00
Yuichi Nishiwaki 69cdedc79f don't use zero length arrray field for struct proc 2017-04-09 19:42:03 +09:00
Yuichi Nishiwaki 960029841e use MSB of tt as mark bit 2017-04-09 19:14:02 +09:00
Yuichi Nishiwaki 287e7473b4 don't expose struct weak to users 2017-04-09 18:12:13 +09:00
Yuichi Nishiwaki 8e1d16e961 bugfix: recursive record objects break the write procedure 2017-04-09 17:49:45 +09:00
Yuichi Nishiwaki 3ac392628e recurd-type must be of symbol type 2017-04-09 17:34:56 +09:00
Yuichi Nishiwaki b62ec2ad9a current-*-port family are not provided when PIC_USE_STDIO=0 2017-04-09 17:29:25 +09:00
Yuichi Nishiwaki 339e8e8419 __builtin_unreachable() seems not emit runtime error 2017-04-09 17:25:12 +09:00
Yuichi Nishiwaki d52dfad671 struct context -> struct frame 2017-04-09 15:49:04 +09:00
Yuichi Nishiwaki 1d28290c14 remove pic_get_backtrace 2017-04-09 15:28:09 +09:00
Yuichi Nishiwaki c634948bf1 WIP: fix the compiler 2017-04-09 13:25:34 +09:00
Yuichi Nishiwaki 16dafdd032 remove pic_ prefix from pic_*_ptr family 2017-04-06 22:29:02 +09:00
Yuichi Nishiwaki 7f430e000b quoted pairs or vectors are compiled to runtime cons or vector 2017-04-06 20:34:13 +09:00
Yuichi Nishiwaki 1e345d8228 WIP: add compiler 2017-04-05 16:18:00 +09:00
Yuichi Nishiwaki c1a7f6d2d8 integrate boot.scm and compile.scm 2017-04-04 19:00:37 +09:00
Yuichi Nishiwaki 463b73f11f reimplement macro expander in scheme 2017-04-04 15:05:34 +09:00
Yuichi Nishiwaki 82939650a4 add macro-objects and global-objects 2017-04-04 03:55:23 +09:00
Yuichi Nishiwaki b9ec9c607b update bin/picrin-bootstrap 2017-04-04 03:00:43 +09:00