ArithEval v0.5.0 released

thedeemon dlang at thedeemon.com
Mon Jan 8 06:02:35 UTC 2018


On Sunday, 7 January 2018 at 20:41:57 UTC, Dechcaudron wrote:
> It allows the runtime evaluation of simple math expressions 
> like `1 + 2 * 3` or `1 ^ foo`, with foo being given values at 
> run time.

That's a nice exercise in using Pegged.
Reminds me of another Pegged-based calculator with variables, 
more operations, more precision and more permissive license:
http://code.dlang.org/packages/pc

It hasn't been updated in 4 years but still can be built by Dub 
automatically, that's how stable D is these days!



More information about the Digitalmars-d-announce mailing list