Talk:Parse EBNF/Tests: Difference between revisions

no edit summary
(I guess because it never defines a production for ''bar''.)
No edit summary
 
Line 6:
 
: I guess because it never defines a production for ''bar''. --[[User:Kernigh|Kernigh]] 01:51, 9 September 2011 (UTC)
 
:: Then we have a contradiction - grammar { foo = bar . } is correct if definition on the linked page is used (and at least one implementation verifies that), together with restrictions on identifier and literal allowed characters, but is not correct, if we assume that all identifiers should be defined.
 
:: I'd lift the requirement that all identifiers should be defined, and stick to the provided definitions. Then this example grammar should be in the "correct" section.
Anonymous user