Evaluator.Parse() throws unexpected exceptions on malformed input.
var facade = NoStringEvaluator.CreateFacade();
var evaluator = facade.Evaluator;
evaluator.Calc("0(!(");
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List1.get_Item(Int32 index) at NoStringEvaluating.Functions.Logic.NotAliasFunction.Execute(List
1 args, ValueFactory factory)
at NoStringEvaluating.NoStringEvaluator.CalcFunction(FunctionWrapperNode functionWrapper, VariablesSource variables, ValueKeeperContainer valueKeeperContainer)
at NoStringEvaluating.NoStringEvaluator.CalcInternal(List1 nodes, VariablesSource variables, ValueKeeperContainer valueKeeperContainer) at NoStringEvaluating.NoStringEvaluator.OnCalcAggregated(List
1 nodes, VariablesSource variables)
at NoStringEvaluating.NoStringEvaluator.Calc(String formula)
System.InvalidOperationException: Stack empty.
at System.Collections.Generic.Stack1.ThrowForEmptyStack() at System.Collections.Generic.Stack
1.Pop()
at NoStringEvaluating.NoStringEvaluator.CalcInternal(List1 nodes, VariablesSource variables, ValueKeeperContainer valueKeeperContainer) at NoStringEvaluating.NoStringEvaluator.OnCalcAggregated(List
1 nodes, VariablesSource variables)
at NoStringEvaluating.NoStringEvaluator.Calc(String formula)