I would have left this issue on mdykman's Github page, but no issues tab exists for it.
To reproduce:
a=:a
a''
When executed, the above code will result in the J interpreter force-stopping and returning back to the Android home screen. I would rather expect it to deliver a "syntax error" instead, as it does on the desktop.
I know it's not an infinite loop exceeding its stack, because this:
While working with the Android version of J701, referenced from http://www.jsoftware.com/jwiki/Android, I've discovered certain classes of syntax errors will cause the interpreter to crash hard. I downloaded the APK here: https://github.com/mdykman/jconsole_for_android/blob/master/dist/j-console.apk
I would have left this issue on mdykman's Github page, but no issues tab exists for it.
To reproduce:
When executed, the above code will result in the J interpreter force-stopping and returning back to the Android home screen. I would rather expect it to deliver a "syntax error" instead, as it does on the desktop.
I know it's not an infinite loop exceeding its stack, because this:
will properly deliver a stack error.
Thank you!