English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
OCaml expression evaluated in a OCaml program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-07 (20:29)
From: Robert Roessler <roessler@r...>
Subject: Re: [Caml-list] OCaml expression evaluated in a OCaml program
Jon Harrop wrote:

> ...
> If you don't really want to execute ocaml code but, rather, simple expressions 
> then you can write your own interpreter quite easily. Many tutorials cover 
> this. If you want to provide access to a few calls in your interpreter then 
> you can simply implement them in your own little language. There are many 
> tutorials on ocaml which describe simple interpreters.

Or there is Ocs (http://will.iki.fi/software/ocs/) - from their page:

"Ocs is an implementation of Scheme, as defined by R5RS. It is
implemented entirely in OCaml and is suitable for embedding in OCaml
programs. It is free, open source software, distributed under a
permissive (two-clause) BSD-style license."

Robert Roessler