A general framework for substitutions and automaticity of maps from a
ring (or even from a semiring) with radix representation to a finite s
et is given. Our definition contains the classical notion of automatic
ity as well as the case of multidimensional automatic sequences and th
e case of sequences indexed by rational integers, by Gaussian integers
or by quadratic irrationals.