Weierstrass function, finite state automata, and l-system