Command line calculator in D

Joel joelcnz at gmail.com
Sat May 9 10:38:08 UTC 2020


On Wednesday, 6 May 2020 at 11:47:55 UTC, Alireza SN wrote:
> I was learning about an algorithm called 'Pratt Parser' and 
> decided to write a cli calculator with it. Here is the link if 
> you want to check it out:
>
> https://github.com/TheWeirdDev/Calcool
>
> Feel free to point out any mistakes i have made.

Can you add something like 'string result = 
evaluateFromString("(1+2)/2");'?


More information about the Digitalmars-d-announce mailing list