feat: add public Pgn_to_tex entry point

Move parsing and rendering internals into the private
pgn_to_tex_internal library and rename pgn2tex to converter. Expose only
Pgn_to_tex with default to_tex arguments, abstract diagram_data,
empty_diagrams, and parse_diagrams_json. Update tests, JS bridge, and
README to the new names.
This commit is contained in:
2026-10-23 16:38:24 +02:00
committed by owenrees
parent 8df30f1746
commit 548f98f303
22 changed files with 111 additions and 48 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
(test
(name test_suite)
(modules (:standard))
(libraries ounit2 sedlex sedlex.ppx pgn_to_tex helpers)
(libraries ounit2 sedlex sedlex.ppx pgn_to_tex pgn_to_tex_internal helpers)
(deps
(source_tree pgn_examples)))