n3 grammar: decimal and integer ambiguity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
lup
Reply | Threaded
Open this post in threaded view
|

n3 grammar: decimal and integer ambiguity

lup
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