Alex Shinn
e93b71990c
Cast to int before comparing with EOF ( #745 ).
2022-12-11 22:56:45 +09:00
Dimitris Papavasiliou
87637c0a0b
Expose construction of foreign procedures.
2022-01-02 20:45:39 +02:00
Alex Shinn
68a81c8aff
typo for non-threads build (issue #731 )
2021-05-05 21:14: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
d53bf51fc9
don't assume EOF < 0x80 (issue #731 )
2021-04-19 10:22:00 +09:00
Alex Shinn
e3078a7c4c
start lambda source info at bytecode pos -1
2021-04-08 22:59:18 +09:00
Alex Shinn
d69ffce3f2
sexp_bytecode_source should always be taken from the lambda
...
This is taken from the read source of the lambda form itself.
Previously it was getting the source of the expanded first expression,
which more often than not was the let definition in init-7.scm
2021-04-08 10:09:58 +09:00
Alex Shinn
60c4007e6f
adding thread-interrupt! so that (chibi repl) can preserve continuations (issue #686 )
2020-08-25 14:09:29 +09:00
Alex Shinn
2bdaebe8c7
wrap uncaught non-exceptions (issue #664 )
2020-07-06 16:20:40 +09:00
Alex Shinn
696bf30f5e
check for circular lists in apply (issue #629 )
2020-05-03 17:19:24 +09:00
Alex Shinn
3c8402d4fb
re-run scheduler if only thread was still waiting (issue #594 )
2019-12-26 23:42:15 +08:00
Alex Shinn
d79f557d46
fix variadic foreign functions with more than 4 params
2019-12-19 23:58:51 +08:00
Alex Shinn
80bf4013f9
exact zero minus a number is negation (fixes issue #523 )
2019-03-05 23:35:15 +08:00
Alex Shinn
2b4394ea74
adding initial support for SRFI 160 uniform vectors
2019-01-15 23:43:50 +08:00
Bertrand Augereau
952d7c806b
More portable bignums that don't have to rely on gcc 128bit arithmetics extension
...
SEXP_USE_CUSTOM_LONG_LONGS currently needs SEXP_64_BIT
2018-06-19 04:46:05 +02:00
John Croisant
42dd447a06
Raise error if apply is called with invalid args.
...
* If called with only the procedure, but no args list.
* If called with a final arg that is not a proper list.
2018-04-14 20:49:03 -05:00
Alex Shinn
da410523b0
fixing peek-char on non-ascii chars
2017-06-26 22:23:38 +09:00
Alex Shinn
8feb1e761e
alternate approach to handling renamed forward refs
2017-04-10 22:36:53 +09:00
Alex Shinn
0fa1179c2f
add -T option to disable TCO
2017-01-14 16:51:07 +09:00
Alex Shinn
047f35432b
detecting variable uses in the wrong phase (issue #259 )
2016-06-19 14:24:42 +09:00
Alex Shinn
0c80f38a19
making string-cursors a disjoint type
2016-03-29 22:25:09 +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
2c2ff588df
Smarter polling in blocked output without threads, enable polling in blocked input.
...
Fixes issue #295 .
2015-12-30 14:07:50 +09:00
Alex Shinn
438346fc26
When aligning bytecode, pad the skipped bytes with the previous opcode.
...
This allows for instructions which want to save the previous ip to simply
subtract their operands without needing to preserve the original ip in advance.
2015-06-03 22:29:38 +09:00
Alex Shinn
ad59eee89f
sexp_emit_word should align before expanding
2015-05-12 23:16:58 +09:00
Alex Shinn
607d70c6a0
When directly incrementing or aligning bytecode pos during code generation,
...
ensure there is enough space just as when emitting.
2015-05-12 23:03:48 +09:00
Alex Shinn
4dda923081
Updating copyright years.
2015-04-09 01:28:02 +09:00
Alex Shinn
f54e40547d
Adding an abort facility to exit the vm without any exception handling.
2015-02-05 22:09:45 +09:00
Alex Shinn
2922ed591d
Forgot to install regexp (patch from Lorenzo)
2015-01-26 08:06:59 +09:00