ulisp
ulisp copied to clipboard
Entering an out-of-range integer at the reader should give an error
If you read an integer that's out of range, currently it gets truncated:
313> (print 88888)
23352
It should give an "Integer out of range" error.
I think the simplest solution (although not perfect) would be, on this line also check to see if $index \le log_{base}\left({2^{31}}\right)$.
Thanks - I'll try that.