W3C home > Mailing lists > Public > public-cwm-talk@w3.org > January to March 2009

n3 grammar: decimal and integer ambiguity

From: luc peuvrier at home <lc.pvrr@orange.fr>
Date: Mon, 9 Mar 2009 11:17:39 +0100
Message-ID: <2B423CE823AE4BE1AC8645C127676524@LUCIO>
To: <public-cwm-talk@w3.org>
Hi,

the rule I proposed for decimal : 
    decimal : [-+]?[0-9]+\.[0-9]* 
introduce an other ambiguity, for example, in:
    ?A math:notLessThan 17; math:lessThan 19. 
there is a shift/reduce conflict, the ending point can be the decimal point or the statement end.

I can suggest 
    decimal : [-+]?[0-9]+\.[0-9]+ 

Best regards
Luc Peuvrier
Received on Monday, 9 March 2009 10:18:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 March 2009 10:18:17 GMT