Just-in-time compiler for combinatorial calculus expressions