ieml/grammar/parser/parser.py
def p_literal_list(self, p):
        """literal_list : literal_list LITERAL
                        | LITERAL"""

        if len(p) == 3:
            p[0] = p[1] + [p[2][1:-1]]
        else:
            p[0] = [p[1][1:-1]]
def p_literal_list(self, p):
        """literal_list : literal_list LITERAL
                        | LITERAL"""

        if len(p) == 3:
            p[0] = p[1] + [p[2][1:-1]]
        else:
            p[0] = [p[1][1:-1]]
def p_literal_list ( self , p ) : if len ( p ) == 3 : p [ 0 ] = p [ 1 ] + [ p [ 2 ] [ 1 : - 1 ] ] else : p [ 0 ] = [ p [ 1 ] [ 1 : - 1 ] ]
literal_list : literal_list LITERAL
                        | LITERAL
literal_list : literal_list LITERAL | LITERAL