ieml/dictionary/script/parser/parser.py
def p_sum_lvl_1(self, p):
        """ sum_lvl_1 : script_lvl_1
                    |  script_lvl_1 PLUS sum_lvl_1"""
        if len(p) == 4:
            p[3].append(p[1])
            p[0] = p[3]
        else:
            p[0] = [p[1]]
def p_sum_lvl_1(self, p):
        """ sum_lvl_1 : script_lvl_1
                    |  script_lvl_1 PLUS sum_lvl_1"""
        if len(p) == 4:
            p[3].append(p[1])
            p[0] = p[3]
        else:
            p[0] = [p[1]]
def p_sum_lvl_1 ( self , p ) : if len ( p ) == 4 : p [ 3 ] . append ( p [ 1 ] ) p [ 0 ] = p [ 3 ] else : p [ 0 ] = [ p [ 1 ] ]
sum_lvl_1 : script_lvl_1
                    |  script_lvl_1 PLUS sum_lvl_1
sum_lvl_1 : script_lvl_1 | script_lvl_1 PLUS sum_lvl_1