Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 ( - 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