Recent updates up to v21.03
wiping master branch
snapshot of files on 2021-03-03 fb73405
this repo is just a mirror
Hm. rev77 is where the bug was introduced. Sorry, I poorly explained. Bug is due to overflow in multiplication, which may give negative with two positive numbers, for example.
Kevin, sorry, but there is some mystery. I think I see this in current trunk: https://sourceforge.net/p/tinyscheme/code/HEAD/tree/trunk/scheme.c#l475
Modulo bug due to internal multiplication (from GIMP repo)
Test suite
Seemingly is duplicated by https://sourceforge.net/p/tinyscheme/patches/26/ but in current version just removing two lines (as suggested there) looks enough (works correctly in both interpreted and script mode).
This seems to be severe! It prevents ./scheme reading from console when program is run from file. Would be good to merge the suggested patch unless it breaks anything :) E.g. if we create the file test.scm: (display "Enter something:") (display (read)) (newline) and try running it with ./scheme test.scm, it won't stop to wait for user input, instead printing literally Enter something:(newline).
string-ref / vector-ref should negate is_integer check