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