W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2001

how to represent a self-described BNF in XML or RDF?

From: 吴文明 <wwmm@seu.edu.cn>
Date: Fri, 6 Jul 2001 11:45:15 -0400 (EDT)
Message-ID: <006301c10633$0ae604f0$620977ca@lotus>
To: <www-rdf-interest@w3.org>
Hi,all

A self-described BNF as follows. how to represent it in XML or RDF?(i.e. how to represent a BNF in XML.)
syntax  ::=  { rule }
rule       ::=  identifier  "::="  expression
expression ::=  term { "|" term }
term       ::=  factor { factor }
factor     ::=  identifier |
                quoted_symbol |
                "("  expression  ")" |
                "["  expression  "]" |
                "{"  expression  "}"
identifier ::=  letter { letter | digit }
quoted_symbol ::= """ { any_character } """
Could anyone help me?

Regards,

lotus.W
 
Received on Friday, 6 July 2001 12:56:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:50 GMT