Re: Discussion of interval literal syntax
Folk
On 2013 Jul 20, at 00:30, Vincent Lefevre wrote:
> Requiring that all interval literals start with "[" and end with
> the first "]" can help...
I rather like the conciseness of uncertain form *without* the brackets, 1.234?5 not [1.234?5], but the convenience for implementers should have high priority.
Straw poll please from those with experience in parsing. Does Vincent's suggestion make it easier to parse interval literals? E.g. to create an LR(1) grammar to do the parsing. Especially in the context of reading them as data from a stream.
John Pryce