In Delphi, I use a component called TMathparser to evaluate an 开发者_开发技巧expression to get an answer. I am trying to get it to work in Delphi Prism and it is not working out too well. In fact, th
I\'m trying to write a grammar to evaluate expressions. I\'ve started with the given example on the ANTLR website (it manage +,- and *).
I have a large database of boolean values and want to build a framework for easily running queries over all of the values.To do this, I\'d like to write a function that, given a string representation
If an expression evaluates multiple && operators, and 开发者_如何学Cdoes not evaluate any operators of lower precedence (eg. ||, ?:), will the expression evaluate to 0 as soon as one of the &a
I have a List<String> that is full of values and operators. [\"123\", \"+\", \"(\", \"890\", \"-\", \"15.00\", \")\"]
I\'m new to Irony and the whole language implementation shebang, so I\'ve been playing around with the ExpressionEvaluator sample that comes with the Irony source, which seems to (almost) suit my need
at work I encountered a basic problem when trying to implement a configuration script with Scheme. To avoid the need of inventing an artificial and restricted language the script should contain actual
We are i开发者_开发问答mplemented expression evaluator via hosting IronRuby engine. Simplified version of evaluator you can see here.
I can\'t seem to find a pointer in the right direction, I am not even sure what the terms are that I should be researching but countless hours of googling seem to be spinning me in circles, so hopeful