rflex

This is a compiler which takes in a .tk regex specification and outputs a tokenizer. The usage is rflex [inputfile] [outputfile]. See example.tk and tokenizer.rs for an example input and output. Much of the design was based on the textbook: Compilers, Principles, Designs and Tools.