You may find this interesting: GitHub - jordwalke/rehp: ReHp
Under the hood,
rehp
is a fork of js_of_ocaml, refactored to make supporting other language backends easier. Most of this project can be merged upstream intojs_of_ocaml
, aside from the parts that are specific to only one language backend.