Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 3.96 KB
<?xml version="1.0" encoding="UTF-8"?>
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:rnga="http://relaxng.org/ns/compatibility/annotations/1.0"><bgf:production><nonterminal>BuiltInSort</nonterminal><bgf:expression><nonterminal>List</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>BuiltInOperator</nonterminal><bgf:expression><nonterminal>ListOperator</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>List</nonterminal><bgf:expression><selectable><selector>list</selector><bgf:expression><nonterminal>Sort</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>BuiltInConstant</nonterminal><bgf:expression><nonterminal>EmptyList</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ListOperator.content</nonterminal><bgf:expression><nonterminal>BuiltInOperator.content</nonterminal></bgf:expression></bgf:production><bgf:production><nonterminal>ListOperator</nonterminal><bgf:expression><choice><bgf:expression><nonterminal>ListAppend</nonterminal></bgf:expression><bgf:expression><nonterminal>ListConcatenation</nonterminal></bgf:expression><bgf:expression><nonterminal>MakeList</nonterminal></bgf:expression><bgf:expression><nonterminal>ListLength</nonterminal></bgf:expression><bgf:expression><nonterminal>MemberAtIndex</nonterminal></bgf:expression><bgf:expression><nonterminal>Sublist</nonterminal></bgf:expression></choice></bgf:expression></bgf:production><bgf:production><nonterminal>EmptyList</nonterminal><bgf:expression><selectable><selector>emptylist</selector><bgf:expression><sequence><bgf:expression><nonterminal>Sort</nonterminal></bgf:expression><bgf:expression><nonterminal>BuiltInConstant.content</nonterminal></bgf:expression></sequence></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ListLength</nonterminal><bgf:expression><selectable><selector>listlength</selector><bgf:expression><nonterminal>ListOperator.content</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>MakeList</nonterminal><bgf:expression><selectable><selector>makelist</selector><bgf:expression><sequence><bgf:expression><nonterminal>Sort</nonterminal></bgf:expression><bgf:expression><nonterminal>ListOperator.content</nonterminal></bgf:expression></sequence></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ListConcatenation</nonterminal><bgf:expression><selectable><selector>listconcatenation</selector><bgf:expression><nonterminal>ListOperator.content</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>ListAppend</nonterminal><bgf:expression><selectable><selector>listappend</selector><bgf:expression><nonterminal>ListOperator.content</nonterminal></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>MemberAtIndex</nonterminal><bgf:expression><selectable><selector>memberatindex</selector><bgf:expression><sequence><bgf:expression><selectable><selector>index</selector><bgf:expression><value>int</value></bgf:expression></selectable></bgf:expression><bgf:expression><nonterminal>ListOperator.content</nonterminal></bgf:expression></sequence></bgf:expression></selectable></bgf:expression></bgf:production><bgf:production><nonterminal>Sublist</nonterminal><bgf:expression><selectable><selector>sublist</selector><bgf:expression><sequence><bgf:expression><selectable><selector>start</selector><bgf:expression><value>int</value></bgf:expression></selectable></bgf:expression><bgf:expression><selectable><selector>length</selector><bgf:expression><value>int</value></bgf:expression></selectable></bgf:expression><bgf:expression><nonterminal>ListOperator.content</nonterminal></bgf:expression></sequence></bgf:expression></selectable></bgf:expression></bgf:production></bgf:grammar>