kielet/plurals/evaluator

Evaluation engine for the syntax tree

Functions

pub fn eval(ast: Ast, input: Int) -> Int

Evaluate the given syntax tree with the input, returning an integer value representing the index of the plural form to choose.

Search Document