>>17Fortran is made up of mathematical expressions and mathematical formulas. The only thing "imperative" about Fortran is the I/O, which is very important, but for non-interactive programs like a syntax highlighter, you can perform all input at the beginning and all output at the end, essentially purely functional programming.