ArithEval v0.5.0 released

Dechcaudron no-reply at no-email.com
Mon Jan 8 09:53:22 UTC 2018


On Monday, 8 January 2018 at 06:02:35 UTC, thedeemon wrote:
> 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!

 From what I can see (documentation appears to be scarce) pc 
strived to be more like a Matlab-style program. ArithEval is to 
be used as a library to help deal with user input. But the former 
definitely supports many more operations, you are right. I guess 
it would not hurt to change the license to MIT. Would that 
encourage use by the community?


More information about the Digitalmars-d-announce mailing list