shakespearelang
shakespearelang copied to clipboard
Numeric Input Error on EOF or Invalid Number – Bug or Implementation Detail?
Description: This interpreter, when parsing numeric input, raises an error (ShakespeareRuntimeError) when encountering an invalid number or reaching the end of file (EOF). However, other implementations of the Shakespeare Programming Language (SPL) tend to return 0 in these cases instead of raising an error.
If this is a deliberate implementation choice, please indicate as such in project files. If not, then it is a bug and should be fixed.