Questions tagged [automata]
The automata tag has no usage guidance.
2
questions
1
vote
1answer
97 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
232 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) ...