Command line calculator in D

Alireza SN alireza6677 at gmail.com
Sat May 9 19:25:44 UTC 2020


On Saturday, 9 May 2020 at 10:38:08 UTC, Joel wrote:
> Can you add something like 'string result = 
> evaluateFromString("(1+2)/2");'?

You can do that now :)

> auto p = new Prser();
> string result = p.evaluateFromString("(1+2)/2");




More information about the Digitalmars-d-announce mailing list