code: def p_chr(p):
      
      if len(p[2]) < 1:
          syntax_error(p.lineno(1), "CHR$ function need at less 1 parameter")
          p[0] = None
          return
  
      for i in range(len(p[2])):  # Convert every argument to 8bit unsigned
          p[2][i].value = make_typecast(TYPE.ubyte, p[2][i].value, p.lineno(1))
  
      p[0] = make_builtin(p.lineno(1), 'CHR', p[2], type_=TYPE.string)
docs: string : CHR arg_list