Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 3.65 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>Makefile</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>comment</selector><bgf:expression><nonterminal>Comment</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>elements</selector><bgf:expression><nonterminal>Element</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Element</nonterminal><bgf:expression><nonterminal>Rule</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Element</nonterminal><bgf:expression><nonterminal>Macro</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Rule</nonterminal><bgf:expression><sequence><bgf:expression><plus><bgf:expression><selectable><selector>dependencies</selector><bgf:expression><nonterminal>Dependency</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression><bgf:expression><plus><bgf:expression><selectable><selector>shellLines</selector><bgf:expression><nonterminal>ShellLine</nonterminal></bgf:expression></selectable></bgf:expression></plus></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Macro</nonterminal><bgf:expression><selectable><selector>value</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ShellLine</nonterminal><bgf:expression><sequence><bgf:expression><selectable><selector>command</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>display</selector><bgf:expression><nonterminal>Boolean</nonterminal></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>ruleShellLine</selector><bgf:expression><nonterminal>Rule</nonterminal></bgf:expression></selectable></bgf:expression></sequence></bgf:expression></bgf:production><bgf:production><nonterminal>Comment</nonterminal><bgf:expression><selectable><selector>text</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Dependency</nonterminal><bgf:expression><nonterminal>RuleDep</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>Dependency</nonterminal><bgf:expression><nonterminal>FileDep</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>RuleDep</nonterminal><bgf:expression><selectable><selector>ruledep</selector><bgf:expression><nonterminal>Rule</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>FileDep</nonterminal><bgf:expression><selectable><selector>name</selector><bgf:expression><nonterminal>String</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>String</nonterminal><bgf:expression><value>string</value></bgf:expression></bgf:production><bgf:production><nonterminal>Boolean</nonterminal><bgf:expression><choice><bgf:expression><terminal>true</terminal></bgf:expression><bgf:expression><terminal>false</terminal></bgf:expression></choice></bgf:expression></bgf:production></bgf:grammar>