src/lexer.py
def lexify(self, args):
        ''' Pass each expression through the lexify_exp function '''
        # normalize input string by newlines
        args = args.split('\n')
        # filter out any empty strings
        args = list(filter(bool, args))
        # append operators to the output
        output = []
        for arg in args:
            output += self.lexify_exp(arg)
        return output
 Pass each expression through the lexify_exp function 
Pass each expression through the lexify_exp function
Pass each expression through the lexify_exp function
def lexify(self, args):
        args = args.split('\n')
        args = list(filter(bool, args))
        output = []
        for arg in args:
            output += self.lexify_exp(arg)
        return output
def lexify ( self , args ) : args = args . split ( '\n' ) args = list ( filter ( bool , args ) ) output = [ ] for arg in args : output += self . lexify_exp ( arg ) return output
Pass each expression through the lexify_exp function
Pass each expression through the lexify_exp function
''' Pass each expression through the lexify_exp function ''' # normalize input string by newlines # filter out any empty strings # append operators to the output
self
args