Commit Graph

75 Commits

Author SHA1 Message Date
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 8c234d7548 properly reset pic->ai 2017-04-19 14:00:02 +09:00
Yuichi Nishiwaki 1adcd26d85 load library.scm before contribs 2017-04-15 16:24:25 +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 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 b9ec9c607b update bin/picrin-bootstrap 2017-04-04 03:00:43 +09:00
Yuichi Nishiwaki d776adba34 add load&compile functions 2017-04-04 00:52:59 +09:00
Yuichi Nishiwaki b9cfbe8276 precompile library system 2017-04-04 00:02:00 +09:00
Yuichi Nishiwaki bba2abffde WIP: precompile macros 2017-04-03 23:39:30 +09:00
Yuichi Nishiwaki 92bbf28621 add PIC_USE_LIBRARY flag 2017-04-03 22:09:19 +09:00
Yuichi Nishiwaki 70a4432d20 fix build on x64 2017-03-29 08:20:02 +09:00
Yuichi Nishiwaki d66ce64130 generate boot.c from boot.scm 2017-03-23 22:47:55 +09:00
Yuichi Nishiwaki 8764bec50b move main.c to src/ 2014-09-01 09:40:55 +09:00
Yuichi Nishiwaki 029d98338d split repl and main loop 2014-08-31 00:36:20 +09:00
Sunrim KIM (keen) 6b9a7788e1 add scratch 2014-08-07 16:35:33 +09:00
Yuichi Nishiwaki 9b95c3c75e exit status 2014-07-29 15:43:59 +09:00
Yuichi Nishiwaki 2f7a51c096 move the repl source to under piclib 2014-07-29 15:23:40 +09:00
Yuichi Nishiwaki dd52dee01c no exit 2014-07-28 13:22:24 +09:00
Yuichi Nishiwaki 786cf9d894 fix main.scm 2014-07-28 11:44:19 +09:00
Yuichi Nishiwaki fc388f8d46 call main.scm inside main.c 2014-07-28 11:43:52 +09:00
Yuichi Nishiwaki db38f13600 add main.scm 2014-07-28 11:37:46 +09:00
Sunrim KIM on Raspberry Pi 331fe21297 use `int` in place of `char` when you compare it to EOF 2014-07-27 17:05:57 +09:00
Yuichi Nishiwaki 09efa4715c add another argument to eval 2014-07-27 13:23:59 +09:00
Yuichi Nishiwaki 9e9fd2527d load (scheme read) library at initialization 2014-06-25 22:39:29 +09:00
Yuichi Nishiwaki 6b8903bd83 fix degre 2014-06-25 22:36:42 +09:00
Yuichi Nishiwaki da4a4fd449 api changes of reader/parser 2014-06-25 15:39:04 +09:00
OGINO Masanori d5dfd9547f Match the case of package name for find_package.
This mismatch causes build failure on Linux.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-06-05 22:08:07 +09:00
Yuichi Nishiwaki 70e3ed2354 drop libreadline dependency. Use libedit instead. 2014-05-26 12:01:08 +09:00
Yuichi Nishiwaki 920524dc40 add pic_print_backtrace function 2014-04-06 14:00:45 +09:00
Yuichi Nishiwaki bc7291a176 add support for `make install` 2014-04-06 12:36:08 +09:00
Yuichi Nishiwaki cb288532a9 support REPL readline history save and load 2014-04-06 01:40:04 +09:00
Yuichi Nishiwaki 76d996290f import more libraries at repl start-up 2014-04-06 01:04:19 +09:00
Yuichi Nishiwaki 38c4e7e6de implemented simple backtrace 2014-03-29 20:02:11 +09:00
Yuichi Nishiwaki 2d25594592 fix #81. 2014-03-26 14:08:39 +09:00
Yuichi Nishiwaki 4a2cb90095 move pic_try/pic_catch macros to error.h 2014-03-24 12:30:21 +09:00
Yuichi Nishiwaki 495be09d8a [bugfix] could not explicitly disable readline on some environment where libreadline
is installed
2014-03-15 21:22:53 +09:00
Yuichi Nishiwaki 5b2898ae5c rename read functions which return a list of multiple expressions to 'parse' 2014-03-04 00:26:33 +09:00
Yuichi Nishiwaki 2cdcbb150a refactor repl 2014-03-03 23:00:58 +09:00
Yuichi Nishiwaki d168e7e1c8 catch read error in repl 2014-03-02 21:44:54 +09:00
Yuichi Nishiwaki 2bd25266b9 If readline is installed, enable it. 2014-03-02 14:34:02 +09:00
Yuichi Nishiwaki 40b6635a2f explicitly include getopt.h 2014-03-02 13:33:12 +09:00
Yuichi Nishiwaki e30529d629 Add experimental cmake support 2014-03-02 01:52:41 +09:00
Yuichi Nishiwaki 6e7567a598 my own read impl. 2014-03-01 20:21:44 +09:00
Yuichi Nishiwaki 8f5569d505 xstdout now handles its own buffer. flush prompts before printing result expression. 2014-02-21 01:28:38 +09:00
Yuichi Nishiwaki 372fd3157b error report is propagated through pic->err 2014-02-11 13:21:00 +09:00
Yuichi Nishiwaki 655eb7a3bd add pic_compile 2014-01-20 16:57:39 +09:00