Commit Graph

69 Commits

Author SHA1 Message Date
Yuichi Nishiwaki e62eaa1628 reimplement port functions in c 2017-05-13 00:33:18 +09:00
Yuichi Nishiwaki e938fb57a5 bugfix: forgot to remove 'p' of pic_get_args 2017-05-13 00:06:56 +09:00
Yuichi Nishiwaki 06dbbcc238 add PIC_USE_PORT 2017-05-12 22:32:49 +09:00
Yuichi Nishiwaki cbec7646c0 reimplement pic_strf_value 2017-05-10 22:35:31 +09:00
Yuichi Nishiwaki aa4f94e378 bugfix: shift/reset should respect dynamic environments 2017-05-10 10:47:01 +09:00
Yuichi Nishiwaki ee59df9300 add pic_cstr 2017-05-10 00:49:15 +09:00
Yuichi Nishiwaki 0de045c79a bugfix: error.c is broken 2017-05-09 22:44:27 +09:00
Yuichi Nishiwaki da27d2ff75 cleanup 2017-05-07 02:41:21 +09:00
Yuichi Nishiwaki 1fdc0bcc8c add value.c and value.h 2017-05-07 00:51:28 +09:00
Yuichi Nishiwaki 282c8cc2f4 rewrite error handling module in scheme 2017-05-06 02:11:13 +09:00
Yuichi Nishiwaki df68b0ed72 ephemeron-table -> attribute 2017-04-30 00:29:46 +09:00
Yuichi Nishiwaki 4dc449b09b error on shift for interleaved stack 2017-04-29 23:48:32 +09:00
Yuichi Nishiwaki 4663a75e96 add include 2017-04-29 23:28:59 +09:00
Yuichi Nishiwaki 583e7492ac proper check for dead continuations 2017-04-26 20:46:13 +09:00
Yuichi Nishiwaki b1ebda613b add shift/reset 2017-04-26 02:10:40 +09:00
Yuichi Nishiwaki 94a350ad83 move cont.c to ext/ 2017-04-25 14:08:37 +09:00
Yuichi Nishiwaki 26ee94dd19 body in parameterize is now a tail position 2017-04-25 12:38:46 +09:00
Yuichi Nishiwaki 0788b78336 support error objects in the display procedure and remove pic_print_error 2017-04-22 20:31:22 -07:00
Yuichi Nishiwaki ccb6fdd4ee add pic_serialize and pic_deserialize 2017-04-22 19:56:41 -07:00
Yuichi Nishiwaki cfb732afaf WIP: eval_rom in binary 2017-04-22 17:48:26 -07:00
Yuichi Nishiwaki 89667cf994 WIP: add serializer/deserializer 2017-04-22 17:17:39 -07:00
Yuichi Nishiwaki f4de6ee57e pic->cxt->ai -> pic->ai 2017-04-16 05:20:55 +09:00
Yuichi Nishiwaki b89de785ee make default-environment a zero-ary procedure 2017-04-15 02:56:31 +09:00
Yuichi Nishiwaki af6a756edd add file ops 2017-04-15 02:13:39 +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 619a014adf calculate object size from type 2017-04-12 13:18:06 +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 8e1d16e961 bugfix: recursive record objects break the write procedure 2017-04-09 17:49:45 +09:00
Yuichi Nishiwaki d52dfad671 struct context -> struct frame 2017-04-09 15:49:04 +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
Yuichi Nishiwaki 889291049f use dict for pic->macros 2017-04-04 02:32:20 +09:00
Yuichi Nishiwaki 42f378b20e forgot to remove eval.c 2017-04-04 02:29:31 +09:00
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