Packages

PMN (Portable Move Notation) implementation for Elixir. Provides parsing and validation of protocol-level Moves as ordered sequences of Actions in abstract strategy board games.

Current section

Files

Jump to
sashite_pmn lib sashite_pmn.ex
Raw

lib/sashite_pmn.ex

defmodule SashitePmn do
@moduledoc """
Top-level entry point for the sashite_pmn library.
All functionality is provided by `Sashite.Pmn`. This module exists
for discoverability and to follow Elixir naming conventions.
See `Sashite.Pmn` for documentation and examples.
"""
defdelegate parse(string), to: Sashite.Pmn
defdelegate parse!(string), to: Sashite.Pmn
defdelegate format(move), to: Sashite.Pmn
defdelegate format!(move), to: Sashite.Pmn
defdelegate valid?(string), to: Sashite.Pmn
defdelegate max_string_length(), to: Sashite.Pmn
end