Open jjg-123 opened 2 weeks ago
When writing a Java module, creating a system function directly, e.g.
Polyad detokenize = new Polyad(StringEvaluator.DETOKENIZE); detokenize.addArgument(new ConstantNode(stem)); detokenize.addArgument(new ConstantNode(" ")); detokenize.evaluate(state);
will fail since the evaluator assumes that being in a module, there is an attempt to override (in this case) the detokenize function. The correct behavior is that if the function is not redefined in the module, just call the system function.
When writing a Java module, creating a system function directly, e.g.
will fail since the evaluator assumes that being in a module, there is an attempt to override (in this case) the detokenize function. The correct behavior is that if the function is not redefined in the module, just call the system function.