I want to write a code generator to do some repetitive tasks...
I have heard of state machines and parsers being used to to this, but don't have a clear
picture of how to go about doing this...
Any help in this direction would be greatly appreciated.
Shell scripting also is o.k.