"""
Input and output functions
==========================

Functions for user interaction. Either reads files or typed values, or
displays values on the screen.

.. autofunction:: show
.. autofunction:: alert
.. autofunction:: show_formatted
.. autofunction:: read_text
.. autofunction:: read_number
.. autofunction:: read_file
.. autofunction:: save_in_file
.. autofunction:: pause


String processing
=================

Text processing functions.


Other
=====

Other functions that do not fall in any specific category.


Mathematical functions
======================

"""

_translations = {
    'exiter.name': 'quit',
    'exiter.doc': 'Type quit() to leave.',
    'cls.name': 'cls',
    'cls.doc': 'Clear screen'
}


# Import all modules and update the TRANSLATIONS dictionary
from ._lib_std import *
_translations.update(TRANSLATIONS)
from ._lib_str import *
_translations.update(TRANSLATIONS)
from ._lib_io import *
_translations.update(TRANSLATIONS)
from ._lib_turtle import *
_translations.update(TRANSLATIONS)


# Math functions
from transpyler.math import (
    pi, e,
    sin, cos, tan,
    sqrt, exp, log, ln, log10, log2, sign,
    abs, round, ceil, trunc,
    sum, product, min, max,
    dice, random, randint,
    Vec, vec, dot,
)

TRANSLATIONS = _translations