Top "Finite-automata" questions

A finite automaton (FA) is a mathematical description of an algorithm capable of parsing regular languages.

An infinite language can't be regular? What is a finite language?

I read this in a book on computability: (Kleene's Theorem) A language is regular if and only if it can …

regular-language finite-automata formal-languages computability kleene-star
Can a DFA have epsilon/lambda transitions?

Can´t find anything affirmative about it. And a NFA with any epsilon transition is a epsilon-NFA ? Thanks.

finite-automata state-machine automata dfa automata-theory
How do you construct the union of two DFA's?

Does anyone have a straightforward description of the algorithm for constructing the union of two given DFA's? For example, say …

union transition finite-automata dfa
Building a lexer in C

I want to build a lexer in C and I am following the dragon book, I can understand the state …

c implementation finite-automata
Real world uses of DFA,NFA,PDA and Turing machines

I am now taking a course on Theory of Computation. I can understand the concepts well. I can able to …

finite-automata computation-theory turing-machines
What is the use of finite automata?

What is the use of finite automata? And all the concepts that we study in the theory of computation. I've …

theory finite-automata
Advantages/Disadvantages of NFA over DFA and vice versa

What are the relative pro's and con's of both DFA's and NFA's when compared to each other? I know that …

finite-automata dfa state-machine nfa
How should one proceed to prove (or find) if two regular expressions are same or equivalent?

For example, in an assignment given to me, we were asked to find out if two regular expressions are equal …

regex finite-automata regular-language equivalence
How to find the intersection of two NFA

In DFA we can do the intersection of two automata by doing the cross product of the states of the …

algorithm intersection finite-automata dfa nfa
How to convert NFA/DFA to java?

I have a scenario where I have designed the NFA and using JFLAP I have converted it to DFA. I …

java finite-automata automata state-machine