[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xri] Issue 1: Clarifying * Semantics
Having written a variety of parsers myself (and played around with parsing XRIs), I have to agree with Loren on this topic. The details we are talking about in these threads (one character vs. two, delimeter vs. decorator, four rules vs. five) have a trivial effect on writing an XRI parser. Were we talking about tens or hundreds of rules or characters being changed, I'd be concerned -- but in this instance I don't believe either the complexity of the parser or the understandability of the rules behind the parsing increases appreciably. Mike > -----Original Message----- > From: Fen Labalme [mailto:fen@idcommons.org] > Sent: Friday, July 09, 2004 12:17 AM > To: Loren West > Cc: xri@lists.oasis-open.org > Subject: Re: [xri] Issue 1: Clarifying * Semantics > > > Loren - > > While you are correct that it's all SMOP (a Small Matter of > Programming) and > the differences we're talking about are somewhat minimal in > regards to the > complexity of the parser, the one less rule makes it quite a > bit easier for > the programmer *writing* the parser to understand things, and > thus decreases > effort and mistakes. > > It also makes it more likely that a human who happens to see > a (HFI-based) XRI > string has a chance to understand what it means. > > This is important in the world of Identity Commons where we > expect users to > see XRIs and, just like URLs, have some sort of grasp as to > what they convey. > > Fen > > > Loren West wrote: > > I can easily say the parsing rules are equally simple, because as > > someone who knows the complexity of writing a parser, I know > > that the hard part isn't in the differences we're talking about > > on this thread. > > > > =Loren > > To unsubscribe from this mailing list (and be removed from > the roster of the OASIS TC), go to > http://www.oasis-open.org/apps/org/workgroup/xri/members/leave _workgroup.php.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]