Questions tagged [automata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
93 views

Is it possible to create a regular language from an non regular language?

I am wondering if it is possible to create a regular language from a irregular language if we add or remove finite number of words from it? say L is irregular, can we add or remove finite number of ...
0
votes
1answer
175 views

How to write a for loop using Automata

I am interested to see how a for loop / while loop would be implemented as an automaton. I am having difficulty imagining how that would work. Say the while-loop did this: var i = 0 while (i < 10) ...