I had create my AdvancedCalculator extension some days ago, so from 4 days I was trying to complete this extension, which evals the natural language input given .
I know this extension may have a lot of bugs, please say me if you found them.
Note : (Sums will be calculated according to BODMAS)
Note 2 : (Do not calculate direct sums)
Calculates the given natural lang sum Returns : String/result
Raised when error ocuured errorMessage : String/error
Sum to calculate : 32 + (2*4) Result : 32 + (2*4) = 40
Sum to calculate : sin(23) × 3 Result : sin(23) × 3 = 1.1721933854678213
This extension can also calculate square-root, sinh, cos, tan & cube-root.
net.naturaleval.xoma.aix (14.0 KB)
Any suggestions are appreciated also say me if you find any bugs..