Evaluating the lexter:giving error for this line let tokens = lexer.lex()


func evaluate (input: String)
print(“Evaluating: (input)”)
let lexer = Lexer(input: input)
let tokens = lexer.lex() //Error Description: call can throw, but it is not marked with ‘try’ and the error is not handled
print(“Lexer output: (tokens)”)

could you help me to correct the line


sorry :slight_smile: I did not read to after the document. it is my fault.