Simpler way to check for NumPy
Don't strip blank lines when parsing, but also don't add an extra newline at the end of the file when formatting.
Match formula output range to NumPy style, [start:end] where start is inclusive and end is exclusive.
Instead of using regexes to fix up expressions inside the formula, just make local variables row, col, frow, fool (formula row, formula col) available to the expression.
Remove prints, useless comment.