Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 5.52 KB
<?xml version="1.0" encoding="UTF-8"?>
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></bgf:expression></bgf:production><bgf:production><nonterminal>Integer</nonterminal><bgf:expression><value>int</value></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><nonterminal>LocalPort</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Port</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>asso_Port_Signalsrc</selector><bgf:expression><nonterminal>Asso_Port_Signal</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>asso_Port_Signaldst</selector><bgf:expression><nonterminal>Asso_Port_Signal</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Signal</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>base</selector><bgf:expression><nonterminal>Base</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>asso_Port_Signal</selector><bgf:expression><nonterminal>Asso_Port_Signal</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Base</nonterminal><bgf:expression><nonterminal>Compound</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Base</nonterminal><bgf:expression><nonterminal>Primitive</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Base</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>compound</selector><bgf:expression><nonterminal>Compound</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>inputPort</selector><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>outputPort</selector><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>signal</selector><bgf:expression><nonterminal>Signal</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Compound</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>localPort</selector><bgf:expression><nonterminal>LocalPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>base</selector><bgf:expression><nonterminal>Base</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>InputPort</nonterminal><bgf:expression><selectable><selector>base</selector><bgf:expression><nonterminal>Base</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>OutputPort</nonterminal><bgf:expression><selectable><selector>base</selector><bgf:expression><nonterminal>Base</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>LocalPort</nonterminal><bgf:expression><selectable><selector>compound</selector><bgf:expression><nonterminal>Compound</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Primitive</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>compound</selector><bgf:expression><nonterminal>Compound</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>inputPort</selector><bgf:expression><nonterminal>InputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>outputPort</selector><bgf:expression><nonterminal>OutputPort</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>signal</selector><bgf:expression><nonterminal>Signal</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Asso_Port_Signal</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>src</selector><bgf:expression><nonterminal>Port</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>dst</selector><bgf:expression><nonterminal>Port</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><selectable><selector>signal</selector><bgf:expression><nonterminal>Signal</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production></bgf:grammar>