initial commit

This commit is contained in:
2026-05-28 09:16:15 +02:00
commit 1561720e5f
8 changed files with 91 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
_build/
.idea/
+4
View File
@@ -0,0 +1,4 @@
(executable
(public_name pgn_to_tex)
(name main)
(libraries pgn_to_tex))
+1
View File
@@ -0,0 +1 @@
let () = print_endline "Hello, World!"
+41
View File
@@ -0,0 +1,41 @@
(lang dune 3.21)
(name pgn_to_tex)
(generate_opam_files true)
(source
(github therealowenrees/pgn_to_tex))
(authors "Owen Rees <owenrees.dev@gmail.com>")
(maintainers "Owen Rees <owenrees.dev@gmail.com>")
(license AGPLv3)
(documentation https://url/to/documentation)
(package
(name pgn_to_tex)
(synopsis "A chess PGN to TeX conversion tool")
(description
"Convert PGN files to LaTeX markdown, including rendered images of selected positions")
(depends
(ocaml
(>= 5.4))
(sedlex
(>= 3.7))
(menhir
(>= 20260209))
(yojson
(>= 3.0))
(ounit2
(and
:with-test
(>= 2.2.7)))
("ocamlformat"
(and :with-dev-setup)))
(tags
("pgn" "latex" "chess" "parser")))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/reference/dune-project/index.html
+2
View File
@@ -0,0 +1,2 @@
(library
(name pgn_to_tex))
+38
View File
@@ -0,0 +1,38 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "A chess PGN to TeX conversion tool"
description:
"Convert PGN files to LaTeX markdown, including rendered images of selected positions"
maintainer: ["Owen Rees <owenrees.dev@gmail.com>"]
authors: ["Owen Rees <owenrees.dev@gmail.com>"]
license: "AGPLv3"
tags: ["pgn" "latex" "chess" "parser"]
homepage: "https://github.com/therealowenrees/pgn_to_tex"
doc: "https://url/to/documentation"
bug-reports: "https://github.com/therealowenrees/pgn_to_tex/issues"
depends: [
"dune" {>= "3.21"}
"ocaml" {>= "5.4"}
"sedlex" {>= "3.7"}
"menhir" {>= "20260209"}
"yojson" {>= "3.0"}
"ounit2" {with-test & >= "2.2.7"}
"ocamlformat" {with-dev-setup}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/therealowenrees/pgn_to_tex.git"
x-maintenance-intent: ["(latest)"]
+3
View File
@@ -0,0 +1,3 @@
(test
(name test_pgn_to_tex)
(libraries pgn_to_tex))
View File