- From: luc peuvrier at home <lc.pvrr@orange.fr>
- Date: Fri, 13 Feb 2009 03:26:41 +0100
- To: <public-cwm-talk@w3.org>
Received on Friday, 13 February 2009 02:46:51 UTC
Hi, Looking for integer and decimal non terminal ( token ) definition on following n3 grammar specification: http://www.w3.org/2000/10/swap/grammar/n3-report.html and http://www.w3.org/2000/10/swap/grammar/n3.n3 The ebnf definition for integer and decimal are: integer : [-+]?[0-9]+ decimal : [-+]?[0-9]+(\.[0-9])? There is an ambiguity since "123" ( for example ) match integer and decimal I propose decimal : [-+]?[0-9]+\.[0-9]* Width the above definition "123" match only integer, "123." match decimal. This look like C and Java standard for numéric constants Best regards Luc Peuvrier
Received on Friday, 13 February 2009 02:46:51 UTC