Go v0.4.3 Go.Parser View Source

Documentation for Go.Parser

Add export/import from sgf data.

Examples

iex> filename = "test/fixtures/example.sgf"
iex> {:ok, sgf} = File.read filename
iex> {:ok, %Go.Parser.Tree{} = tree} = Go.Parser.parse sgf

Link to this section Summary

Link to this section Functions

Specs

parse(String.t()) :: {:ok, Go.Parser.Tree.t()} | {:error, term()}