Convert latex equations into executable Ruby code.