|
w3.org
»
w3.org - cwm
»
w3.org - public-cwm-talk
n3 grammar: decimal and integer ambiguity
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
n3 grammar: decimal and integer ambiguity
by lup
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
Some parts of this message have been removed. Learn more about Nabble's
security policy
.
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
Free embeddable forum
powered by
Nabble
Forum Help