Text this: Chemical reaction equilibrium analysis theory and algorithms