Beispiel #1
0
        public string EvaluateToString(string exprText)
        {
            KernelLink.Evaluate(exprText);
            KernelLink.WaitForAnswer();

            var outExpr = KernelLink.GetString();

            CacheMisses++;

            return(outExpr);
        }
Beispiel #2
0
        public string EvaluateToString(Expr exprObject)
        {
            //string expr_text = expr_object.ToString();

            KernelLink.Evaluate(exprObject);
            KernelLink.WaitForAnswer();

            var outExpr = KernelLink.GetString();

            CacheMisses++;

            return(outExpr);
        }