Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
1 lines (1 sloc) 8.21 KB
<ns0:grammar xmlns:ns0="http://planet-sl.org/bgf"><root>program</root><ns0:production><nonterminal>program</nonterminal><ns0:expression><star><ns0:expression><nonterminal>element</nonterminal></ns0:expression></star></ns0:expression></ns0:production><ns0:production><nonterminal>element</nonterminal><ns0:expression><choice><ns0:expression><nonterminal>singleton_tag</nonterminal></ns0:expression><ns0:expression><nonterminal>tag</nonterminal></ns0:expression><ns0:expression><nonterminal>text</nonterminal></ns0:expression><ns0:expression><nonterminal>comment_tag</nonterminal></ns0:expression><ns0:expression><nonterminal>tag_beg</nonterminal></ns0:expression><ns0:expression><nonterminal>tag_end</nonterminal></ns0:expression></choice></ns0:expression></ns0:production><ns0:production><nonterminal>tag</nonterminal><ns0:expression><sequence><ns0:expression><terminal>&lt;</terminal></ns0:expression><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><nonterminal>attributes</nonterminal></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression><ns0:expression><sequence><ns0:expression><nonterminal>NL</nonterminal></ns0:expression><ns0:expression><nonterminal>IN</nonterminal></ns0:expression></sequence></ns0:expression><ns0:expression><nonterminal>tag_elements</nonterminal></ns0:expression><ns0:expression><nonterminal>EX</nonterminal></ns0:expression><ns0:expression><terminal>&lt;/</terminal></ns0:expression><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>tag_elements</nonterminal><ns0:expression><star><ns0:expression><nonterminal>element</nonterminal></ns0:expression></star></ns0:expression></ns0:production><ns0:production><nonterminal>singleton_tag</nonterminal><ns0:expression><choice><ns0:expression><sequence><ns0:expression><terminal>&lt;</terminal></ns0:expression><ns0:expression><nonterminal>singleton_id</nonterminal></ns0:expression><ns0:expression><nonterminal>attributes</nonterminal></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression><ns0:expression><optional><ns0:expression><nonterminal>singleton_tag_end</nonterminal></ns0:expression></optional></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression><ns0:expression><sequence><ns0:expression><terminal>&lt;</terminal></ns0:expression><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><nonterminal>attributes</nonterminal></ns0:expression><ns0:expression><terminal>/&gt;</terminal></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression></choice></ns0:expression></ns0:production><ns0:production><nonterminal>singleton_tag_end</nonterminal><ns0:expression><sequence><ns0:expression><terminal>&lt;/</terminal></ns0:expression><ns0:expression><nonterminal>singleton_id</nonterminal></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>singleton_id</nonterminal><ns0:expression><choice><ns0:expression><terminal>br</terminal></ns0:expression><ns0:expression><terminal>hr</terminal></ns0:expression><ns0:expression><sequence><ns0:expression><terminal>|</terminal></ns0:expression><ns0:expression><terminal>img</terminal></ns0:expression></sequence></ns0:expression><ns0:expression><terminal>meta</terminal></ns0:expression><ns0:expression><terminal>base</terminal></ns0:expression><ns0:expression><terminal>basefont</terminal></ns0:expression><ns0:expression><nonterminal>x_id</nonterminal></ns0:expression><ns0:expression><terminal>dt</terminal></ns0:expression></choice></ns0:expression></ns0:production><ns0:production><nonterminal>comment_tag</nonterminal><ns0:expression><sequence><ns0:expression><terminal>&lt;!</terminal></ns0:expression><ns0:expression><star><ns0:expression><nonterminal>comment_text</nonterminal></ns0:expression></star></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>comment_text</nonterminal><ns0:expression><choice><ns0:expression><sequence><ns0:expression><nonterminal>punctuation</nonterminal></ns0:expression><ns0:expression><nonterminal>SP</nonterminal></ns0:expression></sequence></ns0:expression><ns0:expression><nonterminal>token</nonterminal></ns0:expression></choice></ns0:expression></ns0:production><ns0:production><nonterminal>tag_beg</nonterminal><ns0:expression><sequence><ns0:expression><terminal>&lt;</terminal></ns0:expression><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><nonterminal>attributes</nonterminal></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>tag_end</nonterminal><ns0:expression><sequence><ns0:expression><terminal>&lt;/</terminal></ns0:expression><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><terminal>&gt;</terminal></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>attributes</nonterminal><ns0:expression><sequence><ns0:expression><nonterminal>SPOFF</nonterminal></ns0:expression><ns0:expression><star><ns0:expression><nonterminal>attribute</nonterminal></ns0:expression></star></ns0:expression><ns0:expression><nonterminal>SPON</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>attribute</nonterminal><ns0:expression><sequence><ns0:expression><nonterminal>SP</nonterminal></ns0:expression><ns0:expression><nonterminal>attribute_id</nonterminal></ns0:expression><ns0:expression><optional><ns0:expression><nonterminal>equals_attribute_value</nonterminal></ns0:expression></optional></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>attribute_id</nonterminal><ns0:expression><choice><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><nonterminal>x_id</nonterminal></ns0:expression></choice></ns0:expression></ns0:production><ns0:production><nonterminal>equals_attribute_value</nonterminal><ns0:expression><sequence><ns0:expression><terminal>=</terminal></ns0:expression><ns0:expression><nonterminal>attribute_value</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>attribute_value</nonterminal><ns0:expression><choice><ns0:expression><nonterminal>stringlit</nonterminal></ns0:expression><ns0:expression><nonterminal>number</nonterminal></ns0:expression><ns0:expression><nonterminal>id</nonterminal></ns0:expression><ns0:expression><nonterminal>url</nonterminal></ns0:expression><ns0:expression><nonterminal>fileref</nonterminal></ns0:expression></choice></ns0:expression></ns0:production><ns0:production><nonterminal>text</nonterminal><ns0:expression><sequence><ns0:expression><plus><ns0:expression><nonterminal>text_unit</nonterminal></ns0:expression></plus></ns0:expression><ns0:expression><nonterminal>NL</nonterminal></ns0:expression></sequence></ns0:expression></ns0:production><ns0:production><nonterminal>text_unit</nonterminal><ns0:expression><choice><ns0:expression><sequence><ns0:expression><nonterminal>punctuation</nonterminal></ns0:expression><ns0:expression><nonterminal>SP</nonterminal></ns0:expression></sequence></ns0:expression><ns0:expression><sequence><ns0:expression><terminal>)</terminal></ns0:expression><ns0:expression><nonterminal>SP</nonterminal></ns0:expression></sequence></ns0:expression><ns0:expression><sequence><ns0:expression><nonterminal>SP</nonterminal></ns0:expression><ns0:expression><terminal>(</terminal></ns0:expression></sequence></ns0:expression><ns0:expression><nonterminal>token</nonterminal></ns0:expression><ns0:expression><sequence><ns0:expression><terminal>&lt;</terminal></ns0:expression><ns0:expression><nonterminal>number</nonterminal></ns0:expression></sequence></ns0:expression></choice></ns0:expression></ns0:production></ns0:grammar>