Commit Graph

35 Commits

Author SHA1 Message Date
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
Yuichi Nishiwaki ca068f560b clarify license information 2014-01-17 20:58:31 +09:00
Yuichi Nishiwaki c39f598dc8 add closer debug print 2014-01-16 22:03:00 +09:00
Yuichi Nishiwaki fbffa4697a import repl libraries by default 2014-01-08 15:38:47 +09:00
Yuichi Nishiwaki be22f63378 Merge pull request #8 from omasanori/fix-include
Include string.h and stdlib.h at all time.
2014-01-04 23:22:40 -08:00
OGINO Masanori 61f0852b82 Include string.h and stdlib.h at all time.
Even if readline support is disabled, some functions declared in
string.h and stdlib.h are used. (e.g. strlen and exit)

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:12:17 +09:00
OGINO Masanori 9681301ab4 Fix warnings when !PIC_ENABLE_READLINE.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:06:14 +09:00
Yuichi Nishiwaki 80aed24fd7 add yet another debug print 2013-12-09 15:36:41 +09:00
Yuichi Nishiwaki 15ded87897 report exit status via a global variable 2013-12-06 21:15:21 -08:00
Yuichi Nishiwaki 1f54f5d0fb cosmetic changes 2013-12-06 21:11:15 -08:00
Yuichi Nishiwaki e5a0ce33aa [bugfix] res might be uninitialized 2013-12-06 04:50:51 -08:00
Yuichi Nishiwaki 7505a31cf1 update help 2013-12-05 17:21:42 +09:00
Yuichi Nishiwaki af2efbc990 add -e option (for one liner script) 2013-12-05 17:10:28 +09:00
Yuichi Nishiwaki 223e873ff0 accept empty lines in repl 2013-11-13 17:37:05 +09:00
Yuichi Nishiwaki 7ae15246fa [bugfix] picrin evaluates exprs in files in order. 2013-11-04 13:18:16 -05:00
Yuichi Nishiwaki 207ec5bd24 add eq? function 2013-10-31 00:29:55 +09:00
Yuichi Nishiwaki 98a41314fe parser returns multiple expressions in a call 2013-10-30 17:06:01 +09:00
Yuichi Nishiwaki 9424f0b9c0 show codegen error message when compilation failure 2013-10-29 02:33:22 +09:00
Yuichi Nishiwaki 98e5288b04 the executable binary takes a scheme file to execute in cmd arg line 2013-10-28 22:08:03 +09:00
Yuichi Nishiwaki 4fa2bad5fa add pic_apply function (and remove pic_run) 2013-10-28 17:45:13 +09:00
Yuichi Nishiwaki f192c96650 parse-from-file facility 2013-10-27 18:38:41 +09:00
Yuichi Nishiwaki 392eb61e51 show help with command line arg -h 2013-10-24 19:06:31 +09:00
Yuichi Nishiwaki dd3adf30e6 use xhash to manage scopes during codegin 2013-10-22 22:22:35 +09:00
Yuichi Nishiwaki adab797391 add system.c 2013-10-21 11:51:02 +09:00
Yuichi Nishiwaki cefa9a9885 handle runtime error 2013-10-20 23:30:01 +09:00
Yuichi Nishiwaki bb3c8ebf0d move main.c to under tools/ 2013-10-20 20:57:10 +09:00