mirror of
https://github.com/TheRealOwenRees/pgn_to_tex.git
synced 2026-07-22 19:46:57 +00:00
79155255f6
* copy project root files * import previously created code and rename where needed * fix license and lint * main is now just a JS wrapper * minified main.cjs rather than copying to a newly named file
15 lines
316 B
OCaml
15 lines
316 B
OCaml
module MoveMap = Map.Make (Int)
|
|
|
|
type tag = { key : string; value : string }
|
|
|
|
type item =
|
|
| Move of string
|
|
| Number of string
|
|
| Clock of string
|
|
| Nag of string
|
|
| Comment of string
|
|
| Result of string
|
|
| Variation of item list
|
|
|
|
type game = { tags : tag list; content : item list; result : string option }
|