code: def init():
      
      global LABELS
      global LET_ASSIGNMENT
      global PRINT_IS_USED
      global SYMBOL_TABLE
  
      global ast
      global data_ast
      global optemps
      global OPTIONS
      global last_brk_linenum
  
      LABELS = {}
      LET_ASSIGNMENT = False
      PRINT_IS_USED = False
      last_brk_linenum = 0
  
      ast = None
      data_ast = None  # Global Variables AST
      optemps = OpcodesTemps()
  
      gl.INITS.clear()
      del gl.FUNCTION_CALLS[:]
      del gl.FUNCTION_LEVEL[:]
      del gl.FUNCTIONS[:]
      SYMBOL_TABLE = gl.SYMBOL_TABLE = api.symboltable.SymbolTable()
      OPTIONS = api.config.OPTIONS
  
      # DATAs info
      gl.DATA_LABELS.clear()
      gl.DATA_IS_USED = False
      del gl.DATAS[:]
      gl.DATA_PTR_CURRENT = api.utils.current_data_label()
      gl.DATA_FUNCTIONS = []
      gl.error_msg_cache.clear()
docs: Initializes parser state