From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 77239BC57 for ; Sun, 4 Jul 2010 21:54:32 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhYCALaDMEzZSMDqkWdsb2JhbACfaBUBAQEBCQsKBxEDH7sVhSUE X-IronPort-AV: E=Sophos;i="4.53,536,1272837600"; d="scan'208";a="62705109" Received: from fmmailgate03.web.de ([217.72.192.234]) by mail1-smtp-roc.national.inria.fr with ESMTP; 04 Jul 2010 21:54:32 +0200 Received: from smtp04.web.de ( [172.20.0.225]) by fmmailgate03.web.de (Postfix) with ESMTP id A4BEC15A110BD; Sun, 4 Jul 2010 21:54:31 +0200 (CEST) Received: from [78.43.204.177] (helo=frosties.localdomain) by smtp04.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #4) id 1OVVGp-000540-00; Sun, 04 Jul 2010 21:54:31 +0200 Received: from mrvn by frosties.localdomain with local (Exim 4.72) (envelope-from ) id 1OVVGp-0002pw-3A; Sun, 04 Jul 2010 21:54:31 +0200 From: Goswin von Brederlow To: Martin DeMello Cc: OCaml List Subject: Re: [Caml-list] adding a scripting language to an ocaml program References: Date: Sun, 04 Jul 2010 21:54:31 +0200 In-Reply-To: (Martin DeMello's message of "Sun, 4 Jul 2010 00:04:32 +0530") Message-ID: <87tyofggzs.fsf@frosties.localdomain> User-Agent: Gnus/5.110009 (No Gnus v0.9) XEmacs/21.4.22 (linux, no MULE) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: goswin-v-b@web.de X-Sender: goswin-v-b@web.de X-Provags-ID: V01U2FsdGVkX1/ifaYZChQdvtPPJpY6+Xujw7jJfLgLlG31A4IO P7IVHNPQNW5eClIadq8SQcAAsyxG2B9wKvcv3x4G23oI2wD4cd LU8X1oV3Q= X-Spam: no; 0.00; ocaml:01 ocaml:01 doable:01 bytecode:01 toplevel:01 mfg:98 ideally:01 caml-list:01 writes:01 seems:03 scheme:05 scheme:05 implement:06 interpreter:07 quite:08 Martin DeMello writes: > Has much work been done on adding a scripting language to an OCaml > program? I googled about a bit, but no one seems to be even talking > about this - for example, if I wanted to do something emacslike with a > core in OCaml and (ideally) some sort of scheme as a scripting engine > in place of elisp, would that be easily doable? > > martin Yes. In bytecode you can run an ocaml toplevel and use ocaml as scripting lanugage. Or you can implement a scheme interpreter quite easily in ocaml. It is a verry simple language. MfG Goswin