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

Re: [MirageOS-devel] experimental vchan iocamljs notebook


  • To: Thomas Leonard <talex5@xxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxx>
  • Date: Mon, 1 Jun 2015 10:09:39 +0000
  • Accept-language: en-GB, en-US
  • Cc: Mirageos-devel <mirageos-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 01 Jun 2015 10:09:44 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Thread-index: AQHQnFC9hpudlYeQKk2DZsUDlxEEnp2XS3CAgAAAjAA=
  • Thread-topic: [MirageOS-devel] experimental vchan iocamljs notebook

> On 1 Jun 2015, at 11:07, Thomas Leonard <talex5@xxxxxxxxx> wrote:
> 
> On 1 June 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/#
> 
> That's useful! Would be helpful to see something about security
> policies too (who can connect to a vchan?).

That would indeed be nice. Iâll have a think about that.

> BTW, how about using
> "Cstruct.of_string" to simplify step 11?

Aha, for some reason I was convinced that function didnât exist! :)

Thanks,
Dave

> 
>> 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
>> MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 
> 
> 
> -- 
> Dr Thomas Leonard        http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

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