in reply to How to evaluate a mathematical formula that is stored in another file?

See the Enhanced Marpa Calculator on how to evaluate maths expressions with variables without the dangers of eval.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
  • Comment on Re: How to evaluate a mathematical formula that is stored in another file?
  • Download Code