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

Re: Another query



On 2013-06-10 19:24:52 -0400, Ned Nedialkov wrote:
> On 2013-06-10, at 9:39 AM, John Pryce <j.d.pryce@xxxxxxxxxx> wrote:
> > 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.

I agree. In particular, we are not sure that the above is the best
choice. I suggest to give that as an example. If need be and/or if
a common practice appears, this could be standardized in a revision.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)