Code docs & specs
Python Code (tar file)
Python Code (zip file)
This code is thanks to Eugene Ruben Ramirez.
Java Code stub (tar file)
Java Code stub (zip file)
Manifest (what to turn in)
Your assignment is to write a program that turns an FSA r into an FSA c that accepts the complement-language of r and test it on sheep language.
Big Hint: Begin by adding a sink state to F.