[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] experimental vchan iocamljs notebook

On 1 Jun 2015, at 10:52, Dave Scott <Dave.Scott@xxxxxxxxxx> wrote:
> 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.

That's really nice!  Do you think this is a good time to retire the use of 
Camlp4 in our docs and use the ppx extension instead (or just manual binds)?


MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.