next up previous contents
Next: Properties of Composition Operators Up: Compositions of Attributed Automata Previous: Primitive Attributed Automata

Basic composition operators

To obtain more complex AA, one can define basic primitives for combining attributed automata - the sequential and parallel composition operators.

For example, automaton recognizing the language tex2html_wrap_inline1178 can be defined as follows:

displaymath1212

First three lines correspondig to the automata counting symbols a, b and c respectively (here the predicate `a`? denotes the checking whether the current symbol of input is a). Then the automaton checks whether the input string is empty and all counters are equal. Finally, it returns the counter as it's final attribute value.



Jaan Penjam
Thu Jan 23 11:38:07 EET 1997