Hi,
I’ve been working in the research project Catala (a DSL designed for deriving correct-by-construction implementations from legislative texts) on the explicability of public algorithm. During this mission, I implemented a ReScript module catala-explain that generate .docx file explaining all the trace of a Catala program. To achieve this, I created ReScript bindings to the docx lib.
Currently, I’m the only user so the bindings are not exhaustive but the main functionality are there. You can check the repo if it’s of any use to you : GitHub - CatalaLang/rescript-docx: A ReScript wrapper for the docx lib
Don’t hesitate to suggest improvements