From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 903917EE4B for ; Sun, 29 Sep 2013 21:40:02 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of mmatalka@gmail.com) identity=pra; client-ip=74.125.82.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of mmatalka@gmail.com designates 74.125.82.172 as permitted sender) identity=mailfrom; client-ip=74.125.82.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f172.google.com) identity=helo; client-ip=74.125.82.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="postmaster@mail-we0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQCAGiBSFJKfVKslGdsb2JhbABYgmbDQhYOAQEBAQcLCwkSKoJsARseAxIQFjQBBA8RAQUBUIdYAQMPAZpTgwOMUoMKg2kKGScNZIkAAQUMj2KEDAOXf4o5hVZBhE0 X-IPAS-Result: AkQCAGiBSFJKfVKslGdsb2JhbABYgmbDQhYOAQEBAQcLCwkSKoJsARseAxIQFjQBBA8RAQUBUIdYAQMPAZpTgwOMUoMKg2kKGScNZIkAAQUMj2KEDAOXf4o5hVZBhE0 X-IronPort-AV: E=Sophos;i="4.90,1005,1371074400"; d="scan'208";a="34803564" Received: from mail-we0-f172.google.com ([74.125.82.172]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 29 Sep 2013 21:40:01 +0200 Received: by mail-we0-f172.google.com with SMTP id w61so4730524wes.31 for ; Sun, 29 Sep 2013 12:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=tDPwgtx9pJ88ABBbl/inDfgTFYyGInayh0gWT46dJpo=; b=rcWQbQ2puUZ2Vbfh9OnfSaXo3e9HHGpDvLXkn4WWSdNlYbZ7ZwZE9HZvMdt3r4yI4T DXOLVt0WdGSGiCW37uoMKSRbUE+0GwSBv8i0eYvLhKa2yE+LZ9FcG740mHVwjWQLj92g 097JWqHAJO9LPp+ayojkl9PxM+5StoyNl+h9whAD/Y92E3IvuY7jdHTPIKImOhsEB9Gn j48xkUCcr8g+HrA6ZQNkTQ+u1F1yQfhk3kIoe/Mga6Zzyj/9s4zZ4j+qH/dAM/SC4MbF dc1ueYP0+mUwDh+++k2xluvrJQE2MwBNRWFlgi+kyhFky5EZ2BR4cazYSg9Pf/WrJ74L Vz1w== X-Received: by 10.180.189.9 with SMTP id ge9mr10833159wic.52.1380483602252; Sun, 29 Sep 2013 12:40:02 -0700 (PDT) Received: from localhost ([2a01:7e00::f03c:91ff:fe70:2696]) by mx.google.com with ESMTPSA id d11sm18716892wic.4.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 29 Sep 2013 12:40:01 -0700 (PDT) From: Malcolm Matalka To: caml-list@inria.fr Date: Sun, 29 Sep 2013 19:40:01 +0000 Message-ID: <8738on1koe.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: [Caml-list] embedding js_of_ocaml output? This might be a really trivial question but perusing the js_of_ocaml website I didn't see it answered: Has anyone gone about embedding js_of_ocaml in an ocaml application? Specifically, I want ship a binary that runs a small embedded webserver and provides the GUI over that. The obvious solution is just to add building the js_of_ocaml output in the build process then make a fake module that just has a string with the output in it and compile that in. Hacky but I don't see why it wouldn't work but I'm sure somebody has a clever idea out there. Thanks! /Malcolm