Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/News/extracted
Source used for this grammar: Freddy Allilaire, News 0.1, News.ecore
, 2006/02/03
Element
, Newspaper
, News
, Category
, Date
, DayKind
, String
, Integer
, Boolean
), 0 root (—), 2 top (Element
, Boolean
), 0 bottom (—).[language]
, [copyright]
, [pubDate]
2, [category]
2, [news]
, [author]
, [comments]
, [newspaper]
, [value]
, [eDay]
, [day]
, [month]
, [year]
, [hours]
, [minutes]
, [seconds]
, [Monday]
, [Tuesday]
, [Wednesday]
, [Thursday]
, [Friday]
, [Saturday]
, [Sunday]
.Element ::= Newspaper
Element ::= News
Newspaper ::=
[language]::String [copyright]::String [pubDate]::Date [category]::Category [news]::News
News ::= [author]::String [comments]::String [pubDate]::Date [category]::Category [newspaper]::Newspaper
Category ::= [value]::String
Date ::= [eDay]::DayKind [day]::Integer [month]::Integer [year]::Integer [hours]::Integer [minutes]::Integer [seconds]::Integer
DayKind ::= [Monday]::ε [Tuesday]::ε [Wednesday]::ε [Thursday]::ε [Friday]::ε [Saturday]::ε [Sunday]::ε
String ::= string
Integer ::= integer
Boolean ::= "true" "false"