Protocols

The following protocols are available globally.

  • A parser which can check if a word is in a language and generate a syntax tree explaining how a word was derived from a grammar

    See more

    Declaration

    Swift

    public protocol Parser
  • A parser that can parse ambiguous grammars and retrieve every possible syntax tree

    See more

    Declaration

    Swift

    public protocol AmbiguousGrammarParser : Parser
  • A string tokenizer which tokenizes a string based on final productions of a context free grammar.

    See more

    Declaration

    Swift

    public protocol Tokenizer