Commit graph

51 commits

Author SHA1 Message Date
Alex Shinn
8fcd4d1f88 remove spurious debug code 2021-04-27 15:50:22 +09:00
Alex Shinn
3cf62f033a store stack traces directly in top-level exceptions to more consistently be able to report them from C 2021-04-26 21:40:39 +09:00
Alex Shinn
70af1d6394 Friendlier error for bad trace command (issue #733). 2021-03-23 12:13:09 +09:00
Lassi Kortela
ac698ce6ae Re-implement SRFI 193 (Command line) 2021-02-01 21:29:26 +02:00
Alex Shinn
9f0ed1a869
Revert "Implement SRFI 193: Command lines" 2021-01-24 19:57:55 +09:00
Lassi Kortela
65b197f7de Implement SRFI 193: Command lines 2020-08-03 13:24:18 +03:00
Alex Shinn
4335d238fb image options are harmless in non-image build; images not supported on 32-bit arch 2020-07-31 15:32:59 +09:00
Alex Shinn
306cc73bd6 Revert "image options are harmless in non-image build; images not supported on 32-bit arch"
This reverts commit 9b859eda36.
2020-07-31 15:32:18 +09:00
Alex Shinn
9b859eda36 image options are harmless in non-image build; images not supported on 32-bit arch 2020-07-31 15:31:43 +09:00
Alex Shinn
daa7263690 remove debug line 2020-05-27 18:37:03 +09:00
Alex Shinn
95310e5823 no more strcpy/sprintf (issue #653) 2020-05-27 18:35:18 +09:00
Lassi Kortela
bb0a0054c8 Write usage to stderr when bad options given 2020-04-23 13:59:27 +03:00
Alex Shinn
957ffe6a42 return successfully on --help (issue #626) 2020-04-23 19:27:52 +09:00
Alex Shinn
336a69a416 -R needs interpreter name, not SRFI 22 2019-01-01 23:18:49 +08:00
Alex Shinn
2962f68ced fix -R usage 2019-01-01 22:49:50 +08:00
Alex Shinn
43d6d20598 fix -xchibi.primitive and spurious output in snow-chibi (thanks Martin Hayman) 2018-12-28 23:29:13 +08:00
Edwin Watkeys
6c9e5d3c54 fix invocation of main 2018-12-11 14:08:45 +01:00
Alex Shinn
06c27d81ce command-line shouldn't include interpreter name (fixes issue #484) 2018-12-10 23:44:39 +08:00
Alex Shinn
7cd26b9823 advanced repl should use (scheme small) by default 2018-01-16 21:23:21 +09:00
joe9
b85201f81d patch to compile on 9front 2018-01-12 19:26:17 -07:00
Alex Shinn
f5b2ba6fe3 nicer error for bad images 2018-01-07 23:54:31 +09:00
Alex Shinn
63b6151230 fix patch for scheme-r7rs 2017-11-18 18:17:45 +09:00
Alex Shinn
e0dcb88b8a
Merge pull request #435 from omasanori/srfi-22-scheme-r7rs
[RFC] Treat `scheme-r7rs` command name as in SRFI 22.
2017-11-18 14:36:07 +09:00
okuoku
5558da5d2b main: Silence warning with !SEXP_USE_GREEN_THREADS 2017-11-11 04:46:25 +09:00
Alex Shinn
ed0be227cc -iimage should be non-fatal for a missing image 2017-08-27 10:28:24 +09:00
Alex Shinn
582c46935e documenting -D, -t and -T options 2017-06-29 14:14:39 +09:00
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