kielet/plurals/parser

Parser for the plural form token stream.

The trailing semicolon in the format is optional.

Functions

pub fn parse(
  input: List(Token(kielet/plurals/tokenizer.Token)),
) -> Result(
  #(Int, Ast),
  List(DeadEnd(kielet/plurals/tokenizer.Token, a)),
)

Parse the given list of tokens into an abstract syntax tree.

Search Document