chex v0.1.2 Chex.Parser.FEN

Forsyth–Edwards Notation parser.

Link to this section Summary

Link to this section Functions

Link to this function

decode_active_color(binary)

decode_active_color(String.t()) :: atom()
Link to this function

decode_board(str)

decode_board(String.t()) :: %Chex.Board{}
Link to this function

decode_castling(string)

decode_castling(String.t()) :: [String.t()]
Link to this function

decode_en_passant(san)

decode_en_passant(String.t()) :: Chex.Square.t()
Link to this function

decode_en_passant(file, rank)

decode_en_passant(String.t(), String.t()) :: Chex.Square.t()
Link to this function

decode_fullmove_clock(string)

Link to this function

decode_halfmove_clock(string)

Link to this function

decode_rank(chars, pieces, file_index, rank)

Link to this function

serialize(game)

Link to this function

serialize_active_color(atom)

serialize_active_color(atom()) :: String.t()
Link to this function

serialize_board(board)

serialize_board(%Chex.Board{}) :: String.t()
Link to this function

serialize_castling(list)

serialize_castling(list()) :: String.t()
Link to this function

serialize_en_passant(arg1)

serialize_en_passant(Chex.Square.t()) :: String.t()