On the computation of the topological entropy of artificial grammars