Hi, I’ve been experimenting with building iocamljs notebooks to document Mirage libraries, in the style of Anil’s ocaml-dockerfile. Here’s what I’ve got so far for vchan:
http://djs55.github.io/ocaml-vchan/# I’ve had to add a bunch of missing JS stubs in js_of_ocaml, io-page, cstruct and vchan itself. Writing the stubs was quite easy but I don’t know how to make the “build” nice. I don’t think oasis or ocamlfind know about js (correct me if I’m wrong!) so I’ve had to manually add ‘make js-install’ targets, and link lines ‘-jsopt +vchan/vchan.js’ in various places which is very ugly. Cheers, Dave _______________________________________________ MirageOS-devel mailing list [email protected] http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
