0c36da0b59
mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions).
153 lines
1.7 KiB
C
153 lines
1.7 KiB
C
// All the qstr definitions in this file are available as constants.
|
|
// That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx.
|
|
// TODO make it so we can use #defines here to select only those words that will be used
|
|
|
|
Q(__build_class__)
|
|
Q(__class__)
|
|
Q(__doc__)
|
|
Q(__import__)
|
|
Q(__init__)
|
|
Q(__locals__)
|
|
Q(__main__)
|
|
Q(__module__)
|
|
Q(__name__)
|
|
Q(__next__)
|
|
Q(__qualname__)
|
|
Q(__repl_print__)
|
|
|
|
Q(__bool__)
|
|
Q(__len__)
|
|
Q(__getitem__)
|
|
Q(__setitem__)
|
|
Q(__add__)
|
|
Q(__sub__)
|
|
|
|
Q(micropython)
|
|
Q(byte_code)
|
|
Q(native)
|
|
Q(viper)
|
|
Q(asm_thumb)
|
|
|
|
Q(Ellipsis)
|
|
Q(StopIteration)
|
|
|
|
Q(BaseException)
|
|
Q(AssertionError)
|
|
Q(AttributeError)
|
|
Q(ImportError)
|
|
Q(IndentationError)
|
|
Q(IndexError)
|
|
Q(KeyError)
|
|
Q(NameError)
|
|
Q(NotImplementedError)
|
|
Q(OSError)
|
|
Q(SyntaxError)
|
|
Q(TypeError)
|
|
Q(ValueError)
|
|
Q(OverflowError)
|
|
|
|
Q(NoneType)
|
|
|
|
Q(abs)
|
|
Q(all)
|
|
Q(any)
|
|
Q(array)
|
|
Q(bool)
|
|
Q(bytearray)
|
|
Q(bytes)
|
|
Q(callable)
|
|
Q(chr)
|
|
Q(classmethod)
|
|
Q(collections)
|
|
Q(complex)
|
|
Q(dict)
|
|
Q(dir)
|
|
Q(divmod)
|
|
Q(enumerate)
|
|
Q(eval)
|
|
Q(exec)
|
|
Q(filter)
|
|
Q(float)
|
|
Q(hash)
|
|
Q(id)
|
|
Q(int)
|
|
Q(isinstance)
|
|
Q(issubclass)
|
|
Q(iter)
|
|
Q(len)
|
|
Q(list)
|
|
Q(map)
|
|
Q(max)
|
|
Q(min)
|
|
Q(namedtuple)
|
|
Q(next)
|
|
Q(ord)
|
|
Q(path)
|
|
Q(pow)
|
|
Q(print)
|
|
Q(range)
|
|
Q(repr)
|
|
Q(set)
|
|
Q(sorted)
|
|
Q(staticmethod)
|
|
Q(sum)
|
|
Q(super)
|
|
Q(str)
|
|
Q(sys)
|
|
Q(tuple)
|
|
Q(type)
|
|
Q(zip)
|
|
|
|
Q(append)
|
|
Q(pop)
|
|
Q(sort)
|
|
Q(join)
|
|
Q(strip)
|
|
Q(format)
|
|
Q(key)
|
|
Q(reverse)
|
|
|
|
Q(bound_method)
|
|
Q(closure)
|
|
Q(dict_view)
|
|
Q(function)
|
|
Q(generator)
|
|
Q(iterator)
|
|
Q(module)
|
|
Q(slice)
|
|
|
|
Q(math)
|
|
Q(pi)
|
|
Q(sqrt)
|
|
Q(pow)
|
|
Q(exp)
|
|
Q(log)
|
|
Q(log2)
|
|
Q(log10)
|
|
Q(cosh)
|
|
Q(sinh)
|
|
Q(tanh)
|
|
Q(acosh)
|
|
Q(asinh)
|
|
Q(atanh)
|
|
Q(cos)
|
|
Q(sin)
|
|
Q(tan)
|
|
Q(acos)
|
|
Q(asin)
|
|
Q(atan)
|
|
Q(atan2)
|
|
|
|
Q(mem_total)
|
|
Q(mem_current)
|
|
Q(mem_peak)
|
|
|
|
Q(<module>)
|
|
Q(<lambda>)
|
|
Q(<listcomp>)
|
|
Q(<dictcomp>)
|
|
Q(<setcomp>)
|
|
Q(<genexpr>)
|
|
Q(<string>)
|
|
Q(<stdin>)
|