AlgoFrames

Languages, Compilers and Theory of Computation

How code becomes a running program, and what computers can and cannot compute.

Theory of computation

Automata, grammars, Turing machines and the limits of what can be computed.

  • Finite automata: DFA and NFA A finite automaton reads input one symbol at a time and moves between states, accepting or rejecting. NFAs can always be turned into DFAs.