1: doctype public "-//IDN etl.sf.net//ETL//Grammar 0.2.1";
     2: /// This is an main grammar that imports expression grammar
     3: /// In its turn it imported from expression grammar. The cycle
     4: /// is here to make life interesting.
     5: grammar net.sf.etl.tests.data.imports.MainGrammar {
     6: 	namespace default m = "http://etl.sf.net/2006/samples/imports/Main/0.1";
     7: 	import expr = "ExpressionGrammar.g.etl";
     8: 	
     9: 	context default Statements {
    10: 		import expressions = Expressions from expr;
    11: 		
    12: 		statement LetStatement {
    13: 			% let {
    14: 				@ name = identifier;
    15: 			} % = {
    16: 				@ value = expression(expressions);
    17: 			};
    18: 		};
    19: 
    20: 		statement ExpressionStatement {
    21: 			@ value = expression(expressions);
    22: 		};
    23: 	};
    24: };	
    25: