Commit graph

16 commits

Author SHA1 Message Date
Alex Shinn
008d13b294 Making new -x handling work with -e/-p.
Optimizing the -xchibi.primitive case to use -q (i.e. no file I/O).
2013-09-29 11:15:29 +09:00
Alex Shinn
eb4adcc9dd Better -x handling. If the language defines the standard port
parameters but doesn't bind them, we bind them to stdin/stdout/stderr.
If the parameters are not defined at all, we abort.
2013-09-29 11:04:20 +09:00
Alex Shinn
d85cff247e Fixing bug when using -x with a language which doesn't have
interaction-environment.  We need to set this in the underlying
core environment first.  Fixes issue #193.
2013-09-14 22:31:27 +09:00
Alex Shinn
77cf790158 Don't treat bare () as the entire repl input as a literal. 2013-07-10 06:58:20 +09:00
Alex Shinn
03fcf059c9 -r also works together with -e/-p options 2013-06-19 23:20:31 +09:00
Alex Shinn
6e5f1e80f3 Python envy. SRFI-22 -r can now be used without a script,
and the main will be inferred from loaded modules.
See issue #182.
2013-06-19 23:15:43 +09:00
Alex Shinn
3cecf4e400 Removing unintentional disabling of Scheme load in main. 2013-06-16 10:32:44 +09:00
Alex Shinn
2b5f8ea007 Adding -s option to escalate warnings to errors.
Fixes issue #107.
2013-05-31 23:31:03 +09:00
Alex Shinn
d76c4e47c9 Using scheme load when available for scripts to preserve stack traces. 2013-04-07 23:46:30 +09:00
Alex Shinn
7c1c40fb07 checking for NULLs before checking exceptions 2013-04-05 19:55:36 +09:00
Alex Shinn
3373469883 SRFI-22 now requires the -r (run) option. 2012-11-11 16:17:26 +09:00
Bakul Shah
9b0f9c73f2 fix plan9 breakage 2012-11-10 15:16:00 -08:00
Alex Shinn
1053d99084 chibi main always wants to make stdin/out/err non-blocking 2012-07-21 17:23:12 +09:00
Alex Shinn
6bcfd141be -q implies modules are loaded 2012-06-28 00:42:44 -07:00
Alex Shinn
8518ebe641 image header magic field shouldn't be const (removes warning) 2012-06-20 21:07:18 -07:00
Alex Shinn
85a7efc003 automatically making sockets non-blocking on accept 2012-05-14 08:37:45 -04:00