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

Re: [MirageOS-devel] experimental vchan iocamljs notebook

  • To: Anil Madhavapeddy <anil@xxxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxx>
  • Date: Mon, 1 Jun 2015 10:20:57 +0000
  • Accept-language: en-GB, en-US
  • Cc: Mirageos-devel <mirageos-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 01 Jun 2015 10:21:10 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Thread-index: AQHQnFC9hpudlYeQKk2DZsUDlxEEnp2XS72AgAADZwA=
  • Thread-topic: [MirageOS-devel] experimental vchan iocamljs notebook

> On 1 Jun 2015, at 11:08, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
> 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)?

Good point â it would be strange to document the syntax that weâre trying not 
to use ;-)

MirageOS-devel mailing list



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