11.6.1.0080 ( paren FILE
Extend the semantics of 6.1.0080 ( to include:
When parsing from a text file, if the end of the parse area is reached before a right parenthesis is found, refill the input buffer from the next line of the file, set >IN to zero, and resume parsing, repeating this process until either a right parenthesis is found or the end of the file is reached.
4 5 6
7 8 9 ) 11 22 33 -> 11 22 33 }T
JohanKotlinski  Multi-line ( behaviorRequest for clarification2023-05-02 21:22:18
I understand the standard requires a different behavior for multi-line comments, depending on whether the source is read from a text file or not. Multi-line comments shall work when read from a text file, but fail when pasted into an interpreter or read from a block.
For practical reasons, I think it would be preferable if the behavior was same between input sources.
It makes me wonder...
- do you agree?
- what would be your preferred behavior?
- would it be realistic to change the standard to allow multi-line comments for all input sources?
- would it be realistic to change the standard to disallow multi-line comments for all input sources?