June 15, 2013
I'm interested in this kind of functionalities does D have something on this ?

I thought about something like a "eval" function that would use specified algorithms.
something likes this

import std.stdio, std.math, atd.eval;

eval(Real a+b+c^^x=56){
algor.brute;
writeln(Real, " ", Positive value(;
}
June 15, 2013
On Saturday, 15 June 2013 at 01:31:23 UTC, Carlos wrote:
> I'm interested in this kind of functionalities does D have something on this ?
>
> I thought about something like a "eval" function that would use specified algorithms.
> something likes this
>
> import std.stdio, std.math, atd.eval;
>
> eval(Real a+b+c^^x=56){
> algor.brute;
> writeln(Real, " ", Positive value(;
> }

import std.stdio, std.math, std.eval;

void main()
{
eval(Real; a+b^^x+c=56){
algor.brute(&result);
       }
writeln("Positive value is : ", result);
}