Exemple #1
0
	def setUp(self):
		self.parser = parser.Lark(grammar, 
								  start='game',
								  parser='lalr',
								  transformer=parser.Tree2PyVGDL())
Exemple #2
0
 def setUp(self):
     self.parser = parser.Lark(grammar,
                               start='terminationrule',
                               parser='lalr',
                               transformer=parser.Tree2PyVGDL())