parse parameters
start the haskell/ccode generation process, wrote the enum code using TH