I noted that you are trying to use ligatures an mathematic notations in folding.
Looks like this might be useful for you: the [Fortress]https://en.wikipedia.org/wiki/Fortress_(programming_language)) developed in Sun labs like a FORTRAN replacement and it is a symbiosis of programming language and math notation.
Take a look on the refcard
Hope you'll find a lot of inspiration here
I noted that you are trying to use ligatures an mathematic notations in folding. Looks like this might be useful for you: the [Fortress]https://en.wikipedia.org/wiki/Fortress_(programming_language)) developed in Sun labs like a FORTRAN replacement and it is a symbiosis of programming language and math notation.
Take a look on the refcard Hope you'll find a lot of inspiration here