From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 87C717ED52 for ; Wed, 25 Jul 2012 17:22:34 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ontologiae@gmail.com) identity=pra; client-ip=209.85.213.54; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="ontologiae@gmail.com"; x-sender="ontologiae@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of ontologiae@gmail.com designates 209.85.213.54 as permitted sender) identity=mailfrom; client-ip=209.85.213.54; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="ontologiae@gmail.com"; x-sender="ontologiae@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-yw0-f54.google.com) identity=helo; client-ip=209.85.213.54; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="ontologiae@gmail.com"; x-sender="postmaster@mail-yw0-f54.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhkCAIEOEFDRVdU2kGdsb2JhbABFhXGiKIhBAYkACCIBAQEBCQkNBxQEI4IgAQEBAwESAg8EGQEbEgsBAwELBgMCBAcaHQICIQEBEQEFAQoSBhMIChCHWwEDBgYLnEIJA4tUT4JxhVMKGScDCleIcQEFDId3gmKGSoESA496g3uBVIEUiXaDJj6EAA X-IronPort-AV: E=Sophos;i="4.77,653,1336341600"; d="scan'208";a="151671135" Received: from mail-yw0-f54.google.com ([209.85.213.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 25 Jul 2012 17:22:33 +0200 Received: by yhfs35 with SMTP id s35so1264998yhf.27 for ; Wed, 25 Jul 2012 08:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MJ77PhGapmIVRuyBLaOAw247ZlyNfr3kCDk6EureeDw=; b=BXwzGqi95pFQZqA59Yk6qm3Ld1Draln251LZcvJh527rtNPuzzMkcjcYzSnS4pUkFE qp5I3leqV5LI7yr2fx3lpWZm+CtxKJiu4PY1G9sIwk8Ss+M47N2NzVws3pTqWzA7bv/5 Sc7Ac6zojfrycP/skp/bYbV/wrRohG9eZfUAPrW/beoji+WG9vqesNRhRqpfGnQPOvCz MBrQfM6Ig4ImUUCvEUFptQ6VL9WYlqZbevUaa0LpzCLG0fWZ7VLKPH9xSGP1aas6pwr1 77h7AJd9cJl78DUAlxL4nJNX1Iif3+zizAVvlt/s7f6J5Tt6fZB2mxb5eoZjDOrjQzDx KpsA== Received: by 10.236.75.229 with SMTP id z65mr13868858yhd.7.1343229752643; Wed, 25 Jul 2012 08:22:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.46.134 with HTTP; Wed, 25 Jul 2012 08:22:12 -0700 (PDT) In-Reply-To: References: From: Pierre-Alexandre Voye Date: Wed, 25 Jul 2012 17:22:12 +0200 Message-ID: To: Diego Olivier Fernandez Pons Cc: caml-list Content-Type: multipart/alternative; boundary=20cf300fb3b942119e04c5a90c85 Subject: Re: [Caml-list] JavaScript interpreter in OCaml --20cf300fb3b942119e04c5a90c85 Content-Type: text/plain; charset=UTF-8 I searched for it one day and didn't found anything. But there's Pffff which contains a JavasScript parser and a beginning of AST analyser : https://github.com/facebook/pfff/tree/master/lang_js 2012/7/25 Diego Olivier Fernandez Pons > Caml-list, > > Does anyone have a JavaScript interpreter in OCaml ? Doesn't need to > be 100% compliant, the user can always rewritte some parts of the > JavaScript. And we discourage using weird / complex JavaScript > constructions anyway. Alternatively, a JavaScript -> OCaml source to > source translator could be good as well. > > Diego Olivier > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > -- --------------------- https://twitter.com/#!/ontologiae/ http://linuxfr.org/users/montaigne --20cf300fb3b942119e04c5a90c85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I searched for it one day and didn't found anything.
But there's= Pffff which contains a JavasScript parser and a beginning of AST analyser = :

h= ttps://github.com/facebook/pfff/tree/master/lang_js

2012/7/25 Diego Olivier Fernandez Pons <= dofp.ocaml@gmail.com>
=C2=A0 =C2=A0 Caml-list,

Does anyone have a JavaScript interpreter in OCaml ? Doesn't need to
be 100% compliant, the user can always rewritte some parts of the
JavaScript. And we discourage using weird / complex JavaScript
constructions anyway. Alternatively, a JavaScript -> OCaml source to
source translator could be good as well.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Diego Olivier

--
Caml-list mailing list. =C2=A0Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs




--
---------= ------------
https://twitter.com/#!/ontologiae/
http://linuxfr.org/users/montaigne<= /a>

--20cf300fb3b942119e04c5a90c85--