Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: Another query



On 2013-06-10, at 9:39 AM, John Pryce <j.d.pryce@xxxxxxxxxx> wrote:

> P1788
> 
> I
> It needs to be a syntax that is easy to parse at the head of an input stream. Most likely seem:
> - Ordered pair in parentheses like ([2, 3], def) or (<22/7+-0.001>, trv)
> - A character such as ! used as a connective, like [2, 3]!def or <22/7+-0.001>!trv

Would it be reasonable to leave this to the user? As far as I can convert a string to an interval, I can write my own
code to read two decimal string and a string representing a decoration. 
Of course, having a uniform format would be helpful, but at the same time, would be nice to keep the standard as 
minimalistic as possible.

Ned

> 
> I like the second, but think the connective should be language-defined. Of the candidates from the ASCII character set, after excluding those used in almost all languages as arithmetic operators etc., I think those left are
>   !@#$%&_~|`
> and I suspect every one of them could cause difficulty in some widely used language.
> 
> John Pryce