class_docstr: Parser for EvaDB QL based on Lark
code: def parse(self, query_string: str) -> list:
      # remove trailing white space
      query_string = query_string.rstrip()
  
      # add semi-colon if needed
      if not query_string.endswith(";"):
          query_string += ";"
  
      tree = self._parser.parse(query_string)
      output = LarkInterpreter(query_string).visit(tree)
  
      # convert output to list if it is a single element
      if isinstance(output, list):
          return output
      else:
          return [output]
  
imports: import os
  from lark import Lark
  from evadb.parser.lark_visitor import LarkInterpreter
label_desc: Use image node_id 3 for calling the LarkParser obj's underlying member method code with example usage: obj.parse(query_string) and returns: output, list