Changed my mind on how to do the ensureFtype. Now, everything is substituted and decorated in code strings and ensureFtype is the very last thing that is called. This way, all the substitution commands do not need to make sure to put out the "f" after floating point constants but that is taken care of by the ensureFtype function. The logic within the parser in ensureFtype can likely be cleaned up a bit but seems to work.