Commit graph

25 commits

Author SHA1 Message Date
Masanori Ogino
76bd596aba Treat scheme-r7rs command name as in SRFI 22.
When the interpreter is named `scheme-r7rs`, SRFI 22's semantics is
assumed, invoking `main` procedure regardless of `-r` option.

Fix #416.

Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2017-06-13 22:26:55 +09:00
Masanori Ogino
361e8e6590 Remove argv[0] from the arguments of main_symbol.
While the (command-line) in (scheme process-context) contains the
command name (argv[0]), SRFI 22 specifies that the interpreter passes
the command-line arguments except argv[0] to the script.

Fix #413.

Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2017-06-10 08:54:49 +09:00
Alex Shinn
fad9e4ca8b don't make stdio nonblocking by default, allow override with -b 2017-05-07 19:42:59 +09:00
Alex Shinn
0fa1179c2f add -T option to disable TCO 2017-01-14 16:51:07 +09:00
Alex Shinn
57c6d7c1ec don't try printing a potentially corrupt stack after OOS (issue #371) 2016-07-10 08:30:30 +09:00
Alex Shinn
82ebd3cbc3 remove unused vars, restore endianess feature 2016-06-12 22:58:35 +09:00
Alex Shinn
08494037ea making features a context global 2016-06-12 14:25:46 +09:00
Alex Shinn
1278c9b3f6 removing debug line 2016-06-07 23:45:55 +09:00
Alex Shinn
16eae5341e adding -Dfeature command-line option (issue #356) 2016-06-07 23:03:38 +09:00
Marc Nieper-Wißkirchen
fb14733921 Prevent segfault when '-t' option is given without argument 2016-06-06 08:57:45 +02:00
Alex Shinn
eed963381c allow loading images from offsets 2016-03-13 09:08:41 +09:00
Alex Shinn
524179388d making image save/load functions public 2016-03-08 23:13:16 +09:00
Alex Shinn
8ff6d7f4b8 remove // comments, uneeded checks 2016-02-20 23:35:41 +09:00
Chris Walsh
2005c19ea0 Added full support for packed images, both for static and dynamic libraries. 2016-02-15 21:12:58 -05:00
Alex Shinn
9a9202716c don't try to create an image for a chunked heap 2016-01-26 23:36:55 +09:00
Alex Shinn
fdc2558a76 Don't load all of (scheme small) for scripts. 2015-06-21 23:39:18 +09:00
Alex Shinn
74cc4372be Fixing -x combined with -m. 2015-06-21 22:47:21 +09:00
Alex Shinn
ad2b9efcdc Allow normal module names for -m, -x, -R, -t. 2015-06-21 15:38:31 +09:00
Alex Shinn
2b10080f64 fixing bug in interaction-environment binding for -q quick repl 2015-06-05 23:00:11 +09:00
Alex Shinn
57b52a4ff0 allowing -t to trace unexported bindings 2015-05-09 00:51:56 +09:00
Alex Shinn
4dda923081 Updating copyright years. 2015-04-09 01:28:02 +09:00
Alex Shinn
217a231064 Fixing typo in emscripten code.
Fixes issue #248.
2015-03-03 08:15:57 +09:00
Alex Shinn
dc5e7e397d Emscripten support by default. Patch from Marc Nieper-Wi?kirchen. 2015-02-22 16:10:30 +09:00
Alex Shinn
3f588a558f Fixing -- args for -R scripts. 2015-02-08 17:48:04 +09:00
Alex Shinn
2922ed591d Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00