Progrmatically validate P123 Formula Via API

This would be helpful for those of us using LLM systems to write formulas. Would save hours per day in my opinion.

Or share the code snippet used to validate the formulas in P123, could be feed straight to the LLM for formula validation.